Sitting Liberal Louise Staley has suffered a surprising loss in the state election seat of Rippon - being beaten by just 31 votes.
Ms Staley finished with 19,999, after the allocation of preferences was finalised on Tuesday evening, with Labor candidate Sarah De Santis claiming 20,030 votes.
The final per cent difference was Ms De Santis 50.04 per cent to Ms Staley's 49.96 per cent.
Ripon is north-east of South West Coast and takes in the towns including Ararat, Charlton, Clunes, Creswick, Donald, Great Western, Miners Rest, Snake Valley, St Arnaud, Stawell and Wedderburn.
There were 10 candidates for the seat with the two leading contenders each getting just under 40 per cent of the primary votes.
After the primaries, Ms Staley was ahead by 296 votes, 15,576 to 15,280.
If she held the seat Ms Staley was expected to be the Liberals’ new deputy leader.
The seat of South West Coast count is expected to be completed on Wednesday morning, with the final preference distribution tallied before an official announcement is made.
Sitting Liberal MP Roma Britnell needs to get just over a third of independent candidate James Purcell’s 10,000 preferences to win over Labor candidate Kylie Gaston.
It’s expected the Upper House counting will take far longer to finalise with Western Victoria votes being shipped to Ballarat for counting.