Elections in Pennsylvania elect the five state-level offices, the Pennsylvania General Assembly, including the senate and house of representatives, as well as the state's congressional delegation for the United States Senate and the United States House of Representatives. Presidential elections are held every four years in Pennsylvania. The state is one of the most competitive nationally, with narrow victories that alternate between the parties across all major offices. On the presidential level, the state has been considered a swing state throughout its entire history as it only voted for the nationwide loser on only 10 occasions (1824, 1884, 1892, 1912, 1916, 1932, 1948, 1968, 2000, and 2004). Meaning it has voted for the national winner 83% of the time, as of 2020.