King was nominated without opposition in the 1998 Republican primary when the incumbent, Ric Williamson, did not seek re-election. In the general election, King defeated the Democratic candidate, Brenda Brown Rotramble, 21,200 to 11,626.
2000 - King ran unopposed.
2002 - King defeated the Democratic candidate Mack Dobbs, 25,525 to 11,475.
2004 - King ran unopposed.
2006 - King defeated the Libertarian candidate Richard Forsythe, Jr., 27,470, in the general election the Democratic Party did not field a candidate.
2008 - King faced two opponents in the general election, Democratic candidate Charles William Randolph and Libertarian candidate Forsythe, defeating them 48,879 to Randolph's 16,308 and Forsythe's 2,205.
2010 - King defeated the Libertarian candidate, Richard Forysthe, Jr. 34,513 to 5,508, in the general election.
2012 - King defeated Green Party candidate Matthew Britt, 55,737 to 6,954.
2014 - King again defeated candidate Matthew Britt, 36,466 to 7,451.
2016 - King was unopposed.
2018 - He again ran unopposed.
Legislative history
King has supported legislation that would institute parental notification and parental consent. In the regular and then the three special legislative sessions of 2003, King authored the congressional redistricting legislation favored by the Republican Party, which won more than 55 percent of the total votes cast in thirty-two separate congressional races in the 2002 midterm elections even though the Republican Party obtained just fifteen of the U.S. House seats. The result gave the Texas delegation to the U.S. House a temporary 21–11 Republican majority. After the 2006 elections, that margin was reduced to 19–13 Republican and after 2008, 20-12 Republican. In 2005, King was the House sponsor of Senate Bill 5, which deregulated Texas telecommunications laws and banned Texas cities from participating in projects that offer free wi-fi in airports and public spaces. King was involved in other legislative matters, including the testing of high school athletes for steroid use, and methods for preventing the circumvention of the parental notification law by abortion clinics. In 2011, he sponsored Senate Bill 14 which required proof of U.S. citizenship by voters at the time of registration. King authored a bill in the Texas House, HB 347 of the 86th Session, to ban the process of forced annexation by cities over suburban and rural areas. The bill will require a Texas city to get the approval of the people and businesses that are affected by the annexation. It passed both chambers of the Texas legislature and was signed by Governor Greg Abbott on May 24, 2019.