New Hampshire is often noted for its moderate politics (especially in relation to strongly Democratic neighboring states) and its status as a prominent swing state. Voters predominantly selected Republicans for national office during the 19th and 20th centuries until 1992. Since then, the state has been considered as a swing state. Since 2006, control of the state legislature and New Hampshire's congressional seats have switched back and forth between Republicans and Democrats, although the state has voted for the Democratic candidate in the last five presidential elections since 2004. However, while southern New Hampshire is noted for its moderate views, northern New Hampshire tends towards hardline conservative politics.