TORONTO, ON- Signs direct voters to a 905 voting station at Mississauga Celebration Square on Civic election day Monday October 22.(Rene Johnston/Toronto Star)

All recounts from the Oct. 21 election are now over after the losing candidates who requested them withdrew their petitions, Elections Canada announced late this week.

The federal elections agency announced Thursday that Bloc Québécois candidate Christiane Gagnon had her request for withdrawal from the recount in the riding of Quebec accepted by the presiding judge, Justice Robert Pidgeon.

In the preliminary results in the riding, which covers central Quebec City, Liberal Cabinet Minister Jean-Yves Duclos defeated Gagnon by 325 votes (or 33.3 to 32.7 per cent). The margin of victory for Duclos remains unchanged in the validated results released by Elections Canada.

With Gagnon’s withdrawal, all three recounts stemming from the Oct. 21 have been ended, with no results changing as a result.

READ MORE: Recount in B.C. riding to take place on Wednesday

Under the Canada Elections Act, a recount must take place if the difference between the number of votes cast for the candidate with the most votes and the number of votes cast for any other candidate is less than one one-thousandth of all valid votes cast.

A recount can also be granted when a candidate or voter asks a judge in the district for one within four days of the release of the validated results, though the applicant must demonstrate evidence that either the returning officer incorrectly counted or rejected ballots, wrote an incorrect number on the Statement of the Vote or incorrectly added up the results.

Also on Thursday, Elections Canada said the runner-up NDP candidate in a closely fought Greater Vancouver riding had withdrawn her request for a recount, allowing Conservative Nelly Shin to be declared the winner in Port Moody–Coquitlam.

The withdrawal request was received and accepted by the B.C. Supreme Court judge presiding over the recount, Justice Nitya Iyer.

Shin flipped the riding from the NDP by only 153 votes, grabbing 31.2 per cent of all ballots cast.

NDP candidate Bonita Zarrillo, who was looking to succeed retiring NDP MP Finn Donnelly in the riding, finished a strong second with 30.7 per cent of the vote, while Liberal Sara Badiei was close behind at 29.1 per cent.

The validated results from Elections Canada confirmed Shin’s margin of victory.

Elections Canada announced earlier this week that defeated Bloc candidate Simon Marchand had withdrawn his request for a recount in the Montreal riding of Hochelaga.

In the preliminary results, Liberal Soraya Martinez Ferrada won Hochelaga by 328 votes over Marchand (or 34 to 33.3 per cent). That margin of victory was also confirmed in the final validated results.