America's first two political parties were the Federalists, who favored a strong central government, and the Democratic-Republicans, who supported states' rights. The Whiskey Rebellion during Washington's presidency demonstrated the Federalist belief in a powerful federal authority. Subsequent presidents expanded U.S. territory through the Louisiana Purchase and victories in the War of 1812. Andrew Jackson's election in 1828 heralded the rise of democracy and populism as the nation expanded westward, though the issue of slavery divided North and South and led to the Civil War in 1861. The war resolved the questions of secession and abolished slavery, but Reconstruction efforts were opposed and racial segregation persisted afterward.