The presidency of James Monroe began on March 4, 1817, when James Monroe was inaugurated as President of the United States, and ended on March 4, 1825. Monroe, the fifth United States president, took office after winning the 1816 presidential election by an overwhelming margin over Federalist Rufus King. This election was the last in which the Federalists fielded a presidential candidate, and Monroe was unopposed in the 1820 presidential election. A member of the Democratic-Republican Party, Monroe was succeeded by his Secretary of State John Quincy Adams.