By its terms, the Twenty-Second Amendment bars only the election of two-term Presidents, and this prohibition would not prevent someone who had twice been elected President from succeeding to the office after having been elected or appointed Vice President. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.