Australia's political parties began horsetrading on Sunday to break an anticipated parliamentary deadlock after a dramatic election failed to produce a clear winner, raising the prospect of prolonged political and economic instability.
The exceptionally close vote leaves Prime Minister Malcolm Turnbull's centre-right Liberal Party-led government in a precarious position, potentially needing the support of independent and minor parties to form government.
It has also opened the door to the possibility, albeit less likely, that the main opposition Labour Party could win enough backing from the smaller parties to form government itself, although Turnbull said on Sunday he remained "quietly confident" of returning his coalition to power for another three-year term.
"I can promise all Australians that we will dedicate our efforts to ensuring that the state of new parliament is resolved without division or rancour," Turnbull told reporters in Sydney.
Bill Shorten, the leader of the opposition Labour Party, said Australians had clearly rejected Turnbull's mandate for major economic changes like cuts to healthcare and company tax.
"What I'm very sure of is that while we don't know who the winner was, there is clearly one loser: Malcolm Turnbull's agenda for Australia and his efforts to cut Medicare," Shorten told reporters in Melbourne, referring the state healthcare service.
An election that was meant to put a line under years of political turmoil which has seen four prime ministers in three years has instead left a power vacuum in Canberra and fuelled talk of a challenge to Turnbull's leadership of the Liberal Party, less than a year after he ousted then prime minister Tony Abbott in a party-room coup.
If the coalition fails to form a government, it would be the first time in 85 years an Australian ruling party has lost power after its first term in office.
The uncertainty is likely to spook markets when they reopen on Monday, with analysts predicting a fall in the Australian dollar and the share market.
Vote counting from Saturday's poll could take a week or more, and the coalition will rule under caretaker provisions in the interim.
Official electoral data for the House of Representatives showed a 3.2 percent swing away from the Liberal-led coalition government when officials clocked off in the early hours of Sunday with almost 10 million votes counted.
The coalition was expected to hold 68 seats in the House of Representatives, against Labour's 70 seats and five to independents and the Greens Party. A further seven seats were in the balance.
That leaves a small group of independents, whose election campaigns ranged from anti-Muslim and anti-immigration to economic protectionism and anti-gambling, as the kingmakers.
"We need to work co-operatively for the good of the nation," said Nick Xenophon, whose independent centrist Nick Xenophon Team has already picked up a lower house seat and is on track to win a handful more in the Senate. Xenophon has vowed to block the coalition's cornerstone A$50 billion ($37 billion) corporate tax cuts.