Twenty-second Amendment to the United States Constitution
As worded, the primary focus of the 22nd Amendment is on limiting individuals twice elected to the presidency from being elected again. Due to this, several issues could be raised regarding the amendment's meaning and application, especially in relation to the 12th Amendment, ratified in 1804, which states, "But no person constitutionally ineligible to the office of President shall be eligible to that of Vice-President of the United States". While it is clear that under the 12th Amendment the original constitutional qualifications of age, citizenship, and residency apply to both the president and vice president, it is unclear whether someone who is ineligible to be elected president could be elected vice president. Because of this apparent ambiguity, there may be a loophole in the 22nd Amendment whereby a two-term former-president could be elected vice president and then succeed to the presidency as a result of the incumbent's death, resignation, or removal from office (or even succeed to the presidency from some other stated office in the presidential line of succession).
United States presidential election
The final way to be elected for president is to have one's name written in at the time of election as a write-in candidate. This is used for candidates who did not fulfill the legal requirements to be pre-listed on the voting ticket. It is also used by voters to express a distaste for the listed candidates, by writing in an alternative candidate for president such as Mickey Mouse or comedian Stephen Colbert (whose application was voted down by the South Carolina Democratic Party). In any event, a write-in candidate has never won an election for President of the United States.