Iowa had a Democratic governor from 1999 until Terry Branstad was re-elected in the mid-term elections in 2010, and has had both one Democratic and one Republican senator since the early 1980s until the 2014 election when Republican Joni Ernst defeated Democrat Bruce Braley in a tightly contested race. As for Iowa's House delegation, Democrats currently hold a 3 to 1 seat majority as a result of the 2018 elections. Between 1992 and 2012, Iowa also voted for the Democratic presidential candidate in all elections except 2004, but in 2016 the state went to the Republicans by 10 percentage points. As a result of the 2016 elections, Republicans hold a majority in the Iowa House of Representatives and the Iowa Senate.