Washington (CNN) Gov. Paul LePage certified the election results for Maine's 2nd Congressional District after a recount and legal battle dragged out the final result in the race for almost two months, cementing a Democratic victory.

But, LePage -- a Republican firebrand -- made one last jab at the drawn-out process when certifying the election, writing the words "stolen election" next to his signature.

I've signed off on the CD2 election result as it's no longer in federal court. Ranked Choice Voting didn't result in a true majority as promised-simply a plurality measured differently. It didn't keep big money out of politics & didn't result in a more civil election #mepolitics pic.twitter.com/0fEhD1dvAb — Paul R. LePage (@Governor_LePage) December 28, 2018

November's congressional election in Maine marked the first time in US history the ranked-choice voting system determined the outcome of a congressional race. The new state law mandates ranked-choice tabulation be applied in any federal race in which no candidate receives a majority of the vote.

Democratic Rep-elect Jared Golden was projected by CNN as the winner of the election in Maine's second district with 50.6% of the vote, and his opponent, Rep. Bruce Poliquin, received 49.4% of the vote.

Though Poliquin earned more first-choice votes on election day, neither of the two won a majority of votes . Therefore, the election was thrown to later rounds where voters ranked just the two candidates, and the two independent candidates were removed from the ballot. Golden was found to be the largest vote-getter in the race.

Read More