elections, when Democrats won full control of the General Assembly, despite a political crisis earlier that year. Voters in 2020 then passed a referendum to give control of drawing both state and congressional districts to a commission of eight citizens and four legislators from each of the two major parties, rather than the legislature. In 2021, Glenn Youngkin became the first Republican to win the governor's race since 2009, with his party also winning the races for lieutenant governor and attorney general and gaining seven seats in the House of Delegates, giving them current control of that body. Federal elections Though Virginia was considered a "swing state" in the 2008 presidential election, Virginia's thirteen electoral votes were carried in that election and the three since by Democratic candidates, including Joe Biden, who won by over ten percent in 2020, suggesting the state has shifted to being reliably Democratic in presidential elections. Virginia had previously voted for Republican presidential candidates in thirteen out of fourteen presidential elections from 1952 to 2004, including ten in a row from 1968 to 2004. Virginia currently holds its presidential primary election on Super Tuesday, the same day as thirteen other states, with the most recent held on March 3, 2020. Virginia's two U.S. Senators are in classes 1 and 2. In class 1, Republican incumbent George Allen lost races in 2006 to Democratic newcomer Jim Webb, and again in 2012 to Webb's successor, former Governor Tim Kaine. In 2008, Democrats also won the class 2 seat when former Governor Mark Warner was elected to replace retiring Republican John Warner. Virginia has had eleven U.S. House of Representatives seats since 1993, and control of the majority has flipped four times since then, often as part of "wave elections". In the 2010 mid-term elections, the first under President Obama, Republicans flipped the 2nd and 5th seats from the Democrats, who had flipped both in the previous election, as well as the 9th. In the 2018 mid-terms, the first under President Trump, Democrats took back the 2nd, as well as the 7th and 10th, giving them currently seven seats to the Republicans' four. The 2nd flipped again, to Republican control, in 2022. Education Virginia's educational system consistently ranks in the top five states on the U.S. Department of Education's National Assessment of Educational Progress, with Virginia students outperforming the average in all subject areas and grade levels tested.