Former senator David Leyonhjelm's state political career is over before it even began, with the NSW Electoral Commission's final count revealing the Liberal Democrats did not win an Upper House seat.

Key points: The NSW election was on March 23, but the complicated Upper House results were finalised only today

The NSW election was on March 23, but the complicated Upper House results were finalised only today Mr Leyonhjelm, who quit federal politics to seek election in NSW, did not win a seat

Mr Leyonhjelm, who quit federal politics to seek election in NSW, did not win a seat The Animal Justice Party was a surprise winner on preferences

Two weeks ago Mr Leyonhjelm prematurely claimed victory when he published a blog post titled "a manifesto for a crossbencher" and announced it was "evident" he had been elected.

After preferences were distributed this morning, it was confirmed he had not made the cut.

He also changed his Twitter bio, which had read "NSW MLC for the Liberal Democrats" to "former senator for the Liberal Democrats".

The Coalition won eight seats, Labor seven, two each for the Greens and One Nation, and one each for the Shooters, Fishers and Farmers Party and Animal Justice Party.

Mr Leyonhjelm quit federal politics in January this year to contest the NSW election as he wanted to work on "nanny-state issues"

Who got in? Party Seats Liberal/National 8 Labor 7 Greens 2 One Nation 2 Shooters, Fishers and Farmers 1 Animal Justice 1

The final results for the Upper House end a three-way race between Christian Democrat MLC Paul Green, One Nation's second candidate Rod Roberts and Mr Leyonhjelm.

The Liberal Democrats secured 0.46 of a quota, or just under half the votes they needed to win a seat in the Upper House.

That meant Mr Leyonhjelm was relying on preferences to make up a full quota.

The Animal Justice Party's Emma Hurst was the surprise winner, securing an Upper House seat on preferences.

The party received just under half of the votes needed to secure a seat before the final count.

It is likely the Sydney-born animal advocate party will side with the two Greens MPs in an unofficial progressive voting bloc.

The Coalition gained an eighth seat with the re-election of NSW National Wes Fang.

Labor's seventh seat went to Electrical Trade Union organiser and former Sutherland Shire Councillor Mark Buttigieg.

Mark Latham had his return to elected office confirmed, this time with One Nation. ( AAP: Joel Carrett )

One Nation won a second seat on preferences, electing the party's number two candidate Rod Roberts.

Former federal Labor leader Mark Latham was first on One Nation's ticket, and had been assured of a spot for weeks.

Fred Nile's Christian Democratic Party failed to secure a seat — although he was not up for election this time and will now be the party's only Upper House representative.

The Greens' David Shoebridge was re-elected alongside newcomer Abigail Boyd.

Former Greens MP Jeremy Buckingham was unsuccessful in his run as an independent, gaining only 0.26 per cent of the vote.

Mr Buckingham quit the NSW Greens last year after sexual harassment allegations were made by a party staffer.

He has always denied the allegations and an investigation found no wrongdoing.

The Keep Sydney Open party received 1.83 per cent of the vote.

Their preferences however helped elect the Animal Justice Party after they were excluded from the count.

The count also revealed the candidate with the lowest number of votes was David Walter from the party Advance.

He achieved just one vote below-the-line on the Legislative Council ballot.