After elections held in 2006, Republicans lost control of Congress. Democrat Barack Obama was elected in 2008 and re-elected in 2012. Republican John Boehner was elected the Speaker of the House of Representatives in 2010 and re-elected in 2012. In 2014, Republicans gained control of the senate and the house. Boehner resigned in early October 2015 and was eventually succeeded by Paul Ryan of Wisconsin on October 29, 2015. On November 9, 2016, Donald Trump was elected president, defeating Democrat Hillary Clinton in the Electoral College. Trump was the first Republican to take office as president since January 20, 2001, when George W. Bush was inaugurated. The Republicans lost the House and won the Senate in 2018. Paul Ryan retired in 2019 and was succeeded by Nancy Pelosi, who is a member of the Democratic Party.