Gary Kenneth King (born September 29, 1954) is an American lawyer, politician, and energy consultant who served as the 30th attorney general of New Mexico from January 1, 2007, to January 1, 2015. King previously served as an advisor in the United States Department of Energy, a member of the New Mexico House of Representatives, and the Democratic nominee for New Mexico governor in the 2014 election.