Treasurer Scott Morrison will be Australia’s new Prime Minister after winning a three-way battle for the leadership of the Liberal party on Friday, with incumbent Malcolm Turnbull not contesting the party ballot.

There were three contenders in the leadership vote: former Home Affairs Minister Peter Dutton, who narrowly lost a leadership vote against Mr. Turnbull on Tuesday, Mr. Morrison and Foreign Minister Julie Bishop.

The Liberal party is the senior partner in the ruling conservative coalition that will face an election by May 2019. The Liberal-National government has consistently trailed the Opposition Labor party in opinion polls.

If Mr. Turnbull resigns from Parliament, he will leave the new government facing a by-election for his Sydney seat that could see it lose its one-seat majority.

Mr. Turnbull said on Thursday he believed that former Prime Ministers were best out of Parliament.