On Tuesday night, Democrats celebrated as Kentucky Attorney General Andy Beshear defeated incumbent Governor Matt Bevin. Though the results were quite close for an election with such a high turnout, the final numbers showed Beshear with an advantage of over 5,100 votes—an almost impossible amount to be reversed by a recount. But Republicans aren’t about to be thwarted by a little thing like the will of the voting public. Bevin has refused to concede the race, and Republicans in the state house are taking first steps to take control of the election, reverse the results, and return Bevin to the governor’s mansion no matter what the vote says.

As the Louisville Courier-Journal reports, the Republican president of the Kentucky Senate has already started looking into how they could contest the election and throw it to a vote in the GOP-dominated state House of Representatives. Under Kentucky state law, the elections are certified by a state board of elections. Once that happens, Bevins has 30 days in which he could ask for a re-canvas or a recount. However, he could also contest the election. In that case, it would be up to a vote of the House and Senate to decide the winner. And in both chambers, Republicans have a majority.

While candidates are allowed to contest elections, the last time this happened in Kentucky was in 1899. In that case, Democrat William Goebel, who ran on a working class, “friend to the common man,” anti-corporate platform had a contest that came down to a handful of votes against Republican “man of business” William Taylor. Taylor was first named governor, but after a near state-wide rebellion that required the legislature to meet in secret, Goebel was declared governor. Unfortunately, by that point a Republican had already shot Goebel. He was officially governor, on his death bed, for three days.

That’s the legacy that Kentucky Republicans are out to revive as they and Bevin scan the rules and look to throw the election into contention—quite possibly bypassing the idea of a recount so that it doesn’t inconveniently show them what they already know; that Beshear is the winner. So the plan being contemplated is not to do a recount, or even a re-canvass of voting machines. Bevin could just go straight to the state Congress, then stroll back to the mansion, smiling all the way.