10 years.
True but a person is ineligible to be elected for a third after serving two terms. This is mostly to save a VP who had to step into the job in an emergency from losing a term. But if their fill in term is two years and one day ( or more ), it counts a full term.