The Question:

What does the president swear to uphold while taking the oath of office?

The Answer:

The president swears to "preserve, protect, and defend" the U.S. Constitution.

—The Fact Monster