system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Presidential term limits in cases where the VP becomes president.

How do the term limits imposed on the US Presidency affect those Presidents who were not elected in for their first term?  Prime example being Lyndon Johnson following the assassination of JFK.  Does the two term limit in LBJ's case include the term he served following the assassination, or would his first term be the term would be re-elected (non-American so I can't recall if LBJ was actually re-elected)?
gpt
The exact text of the 22nd Amendment:

> 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.

So if the Vice President serves more than 2 years of the previous term, it counts towards the 2 terms and they can only serve one more term. If they serve less than 2 years, they can still be elected twice.