Donald Trump is the 45th president of the United States. He follows in the footsteps of 44 others, all the way back to George Washington, who took the first oath of office in 1789.
When Trump swore on a Bible at his inauguration last month to protect and defend the Constitution, several of those former presidents were in attendance: Jimmy Carter, Bill Clinton and George W. Bush, along with outgoing President Obama.
See how well you know the former commanders-in-chief by putting them in the correct order in the interactive below. Tap and drag the portraits to put each president under the dates he was in office:

More Must-Read Stories From TIME
- TIME's 100 Most Influential People of 2022
- Employers Take Note: Young Workers Are Seeking Jobs with a Higher Purpose
- Signs Are Pointing to a Slowdown in the Housing Market—At Last
- Welcome to the Era of Unapologetic Bad Taste
- As the Virus Evolves, COVID-19 Reinfections Are Going to Keep Happening
- A New York Mosque Becomes a Refuge for Afghan Teens Who Fled Without Their Families
- High Gas Prices are Oil Companies' Fault says Ro Khanna, and Democrats Should Go After Them
- Two Million Cases: COVID-19 May Finally Force North Korea to Open Up
Read More From TIME