January 20, 2017 9:00 AM EST

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:

Contact us at letters@time.com.

Read More From TIME

Related Stories

EDIT POST