Liberal candidate Alan McIsaac's seat in the P.E.I. legislature was affirmed by a coin toss on Tuesday, after a judicial recount of the votes in the May 4 provincial election revealed a tie.

Progressive Conservative candidate Mary Ellen McInnis lost the election by just two votes to incumbent McIsaac.

Mary-Ellen McInnis

PC candidate Mary Ellen McInnis requested the recount after losing by two votes on election night. (Contributed)

She officially filed for the recount in District 5, Vernon River-Stratford,  on May 12.

Judge John Douglas performed the recount in a room at the Atlantic Technology Centre in Charlottetown.

McIsaac and McInnis were present for the recount.

"It just shows everybody across this province how valuable one vote can be," said McIsaac.

"I'm really looking forward to working with Premier [Wade] MacLauchlan."

PC Leader Rob Lantz has also filed for a judicial recount in District 13, Charlottetown-Brighton. He lost the district to Liberal newcomer Jordan Brown by 24 votes. A date has not been set for that recount.

For mobile device users: What do you think of Alan McIsaac winning his election with a coin toss?