The Berejiklian government has secured a majority in NSW by winning a 47th seat in the 93-seat lower house following the weekend's election.
The coalition was returned to power on Saturday for a third-straight term but it wasn't immediately clear if it had won enough seats to govern in its own right.
That question was answered on Monday when Nationals candidate Dugald Saunders was declared the winner in Dubbo by ABC election analyst Antony Green following an extremely close count.
Dubbo had previously been held by the retiring former Nationals leader Troy Grant.
Green also called Lismore as a Labor gain on Monday afternoon with former federal MP Janelle Saffin taking the seat from the Nationals.
That's another blow to the junior coalition partner which also lost the western NSW seats of Barwon and Murray to the Shooters, Fishers and Farmers Party and failed to win back Ballina on the north coast from the Greens.
There's just one seat still in doubt, according to Green, with Liberals candidate Wendy Lindsay narrowly ahead of Labor's Cameron Murphy in East Hills in Sydney's southwest.