You are not permitted to download, save or email this image. Visit image gallery to purchase the image.
Prime Minister Scott Morrison compared his Liberal Party's victory for a third three-year term to the births of his daughters, Abbey (11) and Lily (9), who were conceived naturally after 14 years of in vitro fertilisation had failed. His wife, Jenny Morrison, suffered endometriosis.
"I have always believed in miracles," Morrison (51) told a jubilant Sydney crowd as he claimed victory.
"I'm standing with the three biggest miracles in my life here tonight, and tonight we've been delivered another one," he said, embraced by his wife and daughters.
Opposition leader Bill Shorten had earlier conceded defeat on Saturday as the coalition came close to a majority in the 151-seat House of Representatives, where parties need a majority to form a government. Vote counting was to continue on Sunday.
"I'm disappointed for people who depend upon Labor, but I'm glad that we argued what was right, not what was easy," he told supporters.
Shorten (52) would have become Australia's sixth prime minister in as many years and said he would no longer lead Labor after six years at the helm.
The government then lost two seats and its single-seat majority as part of the blood-letting that followed.
An unpopular single-term Labor government that was voted out in 2013 had been the only previous minority government since World War 2.
Opinion polls prior to the election had suggested that the coalition would lose and that Morrison would have had one of the shortest tenures as prime minister in the 118-year history of the Australian federation.
Morrison had focused his campaigning on polling that showed while Labor was more popular than the government, the Prime Minister was more popular than Shorten.
Shorten, who campaigned heavily on reducing greenhouse gas emissions, said on Saturday morning that he was confident Labor would win, but Morrison would not be drawn on a prediction.
Morrison is the conservatives' third prime minister since they were elected in 2013.
Tony Abbott, who became the first of those three Prime Ministers in the 2013 election, conceded defeat in the Sydney seat he has held since 1994.
Polling suggests climate change was a major issue in that seat for voters, who instead elected an independent candidate, Zali Steggall. As Prime Minister in 2014, Abbott repealed a carbon tax introduced by a Labor government. Abbott was replaced by Turnbull the next year because of poor opinion polling, but he remained a government lawmaker.
EGGED ANNING OUT
A maverick senator who blamed the slaughter of 51 worshippers in two New Zealand mosques on the country's immigration policies also lost his bid for election.
Fraser Anning was the target of widespread condemnation for railing against Muslim immigration within hours of the mass shootings in the city of Christchurch in March this year.
He faced more criticism later for physically striking a teenage protester who cracked a raw egg on his head and was censured by the Senate.
Senior Labor lawmaker Chris Bowen said his party may have suffered from what he conceded was an unusual strategy of pushing a detailed policy agenda through the election campaign.
Morrison began the day Saturday by campaigning in the island state of Tasmania, where the Liberals appeared to have gained two Labor-held seats. He then flew 900km home to Sydney to vote and to campaign in Sydney seats.
Shorten campaigned hard on more ambitious targets to reduce Australia's greenhouse gas emissions.
The government has committed Australia to reduce its emissions by 26% to 28% below 2005 levels by 2030. Labor has promised a 45% reduction in the same time frame.
Shorten, a former labor union leader, has also promised a range of reforms, including the government paying all of a patients' costs for cancer treatment and a reduction of tax breaks for landlords.
Morrison, a former tourism marketer, promised lower taxes and better economic management than Labor.
Both major parties promised that whoever won the election would remain prime minister until he next faces the voters' judgment. The parties have changed their rules to make the process of lawmakers replacing a prime minister more difficult.
During Labor's last six years in office, the party replaced Prime Minister Kevin Rudd with his deputy Julia Gillard, then dumped her for Rudd.