Two term limitation on president -1951
“Section 1: No person shall be elected to the office of the President more than twice, and no person who has held the office of President, or acted as President, for more than two years of a term to which some other person was elected President shall be elected to the office of the President more than once. But this Article shall not apply to any person holding the office of President, when this Article was proposed by the Congress, and shall not prevent any person who may be holding the office of President, or acting as President, during the term within which this Article becomes operative from holding the office of President or acting as President during the remainder of such term.
Section 2: This article shall be inoperative unless it shall have been ratified as an amendment to the Constitution by the legislatures of three-fourths of the several States within seven years from the date of its submission to the States by the Congress.”
A president can serve for up to10 years if they took over the office with less than 2 years left in the term. They then can be elected twice for 2 more terms.
See: Previous Amendment (Twenty-First Amendment) – Next Amendment (Twenty-Third Amendment)