Australia is to have a new prime minister after Tony Abbott was ousted as leader of the centre-right Liberal Party by Malcolm Turnbull.
In the dramatic late night party leadership ballot, Mr Abbott, who had been plagued by poor opinion polls, received 44 votes to Mr Turnbull's 54.
Mr Turnbull said he assumed that parliament would serve its full term, implying no snap general election.
The new leader will be Australia's fourth prime minister since 2013.
The prime minister-elect is expected to be sworn in after Mr Abbott writes to Australia's governor general and resigns.
Earlier on Monday Mr Abbott had dismissed rumours of a leadership challenge as "Canberra gossip" - only to be voted out by his fellow Liberal MPs.
They also voted for Foreign Minister Julie Bishop to remain deputy leader of the party.
Speaking after the result was announced, Mr Turnbull praised his predecessor for his "formidable achievements" as prime minister.
The new party leader said Australia needed to have "the economic vision, a leadership, that explains the great challenges and opportunities we face".
He said he would lead "a thoroughly Liberal government, committed to freedom, the individual and the market".
Who is Malcolm Turnbull?
- Served as Minister for Communications under Mr Abbott, before resigning to launch a leadership challenge
- Many in his party dislike his support for climate change action and gay marriage
- Led the Liberal Party in opposition from 2008-2009 - but lost a leadership challenge to Mr Abbott by one vote
- Previously worked as a successful lawyer and businessman - defending former British spy Peter Wright in the "Spycatcher" case in the 1980s
Ahead of the vote, Mr Turnbull had said if Mr Abbott remained as leader, the coalition government would lose the next election, which is likely to take place next year.
He said he had not taken the decision to launch a leadership challenge lightly, but that it was "clear enough that the government is not successful in providing the economic leadership that we need".
Ms Bishop had supported his bid to become party leader.
The last Australian prime minister to serve a full term was John Howard, who left power in 2007.
Labor Prime Minister Julia Gillard was ousted by rival Kevin Rudd in a leadership vote in June 2013 - months before a general election won by Tony Abbott's Liberal Party and its coalition partners the National Party.
Ms Gillard herself had ousted Mr Rudd as prime minister in 2010.
Mr Turnbull had previously been leader of the Liberals while in opposition, but was ousted by Mr Abbott in 2009.
Mr Abbott survived a leadership challenge in February, but his government has consistently been behind the opposition Labor Party in opinion polls.
Under the Australian system, as in the UK, the prime minister is not directly elected by voters but is the leader of the party or coalition that can command a majority in parliament.
The outgoing prime minister has not spoken publicly since he was voted out by his parliamentary colleagues.
Current opposition leader Bill Shorten tweeted that "Australia does not need another arrogant, out of touch Liberal leader - Australia needs a change of government".
Analysis: Wendy Frew, Australia Editor, BBC News website
Malcolm Turnbull has always been close to the sources of power, whether it was giving legal advice to Australian media mogul Kerry Packer in the 1980s, or running his own investment bank and later as a partner of Goldman Sachs.
He has now risen to the highest job, a position he has coveted for at least as long as he has been in politics. But that doesn't mean it will be all plain sailing from here.
Mr Turnbull holds views that are at odds with his coalition colleagues, in particular, on climate change, gay marriage and making Australia a republic.
No doubt, deals have been done but it remains to be seen how many compromises the member for Wentworth may have made to win support in Monday's ballot.