If a president takes over the office of president , how many years can they stay in office

In the United States, a president can serve a maximum of two terms, each term being four years long. This means a president can stay in office for a total of eight years.