It's official: Malcolm Turnbull's government has a one-seat majority in the lower house.
The Australian Electoral Commission says Labor's Cathy O'Toole has won the Queensland seat of Herbert by 37 votes, ousting Liberal incumbent Ewen Jones.
It's the last House of Representatives seat to be finalised and leaves the coalition government with 76 seats, a majority of just one.
Labor has won 69 seats.
But that could change, with the possibility of the Liberals seeking a Court of Disputed Returns ruling to void the election result and run a fresh election.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
The party has 40 days after the writs are returned on August 8 to do this.
It is claimed some soldiers from Lavarack Barracks missed out on voting while they were on Exercise Hamel in South Australia during the election campaign.
As well, a number of Townsville hospital patients are also believed not to have been given the opportunity to vote.
So far, 122 out of 150 seats have been formally declared.
Counting in the Senate continues, with the NT, ACT and Tasmania declared.
The results in South Australia and Western Australia are expected to be declared on Monday, for Victoria and Queensland on Tuesday, and NSW on Wednesday.
Opposition Leader Bill Shorten tweeted his congratulations to Ms O'Toole, saying she had run an outstanding campaign.

