Answer
In 2007, Steve Beshear defeated incumbent Republican Governor Ernie Fletcher in the Kentucky gubernatorial election. Beshear won with a slim margin of less than 5,000 votes, making it one of the closest gubernatorial races in Kentucky's history. This historic loss brought an end to Republican control of the state, which had lasted for eight consecutive years.