With just two days to go before the swearing in of the Liberal government in New Brunswick, the final recount in the province is done.

The hand counts were ordered after questions were raised about the accuracy of the electronic tabulation system.

Seven ridings in total were given a second count.

Elections New Brunswick says judges from the Court of Queen's Bench have confirmed the wins by Liberal candidates in the ridings of Carleton-Victoria, Shippagan-Lameque-Miscou, Saint John Harbour, Saint John East, Charlotte-Campobello and Fredericton North.

The Progressive Conservatives were confirmed as winning the riding of Fredericton-Grand Lake

Friday night votes

Two seats were recounted in Saint John on Friday.

Judges upheld the wins by Ed Doherty, in Saint John Harbour, and Gary Keating, in Saint John East.

On election night, the use of an untested software by Elections New Brunswick to transmit results recorded through the automated vote-counting tabulator system saw vote counts stall and then appear to drop before finally concluding.

The resulting confusion and delays meant it was about five hours after the polls closed before Elections New Brunswick could declare Brian Gallant's Liberals had won a majority government.

After the confusion, the Progressive Conservatives applied for recounts in six ridings and the People's Alliance asked for one.