'He will be great': World reacts to Britain's PM to-be Boris Johnson
New Conservative Party leader and incoming prime minister Boris Johnson arrives at the Conservative party headquarters in central London on July 23, 2019 AFP

Britain's main allies congratulated Boris Johnson on Tuesday after he won a party leadership vote that will see him become Britain's next prime minister, but the EU warned of challenging times ahead over Brexit.

Here are some of the initial reactions from home and abroad to Johnson's victory:

- 'He will be great' -

"Congratulations to Boris Johnson on becoming the new Prime Minister of the United Kingdom. He will be great!" US President Donald Trump tweeted.

Trump has declared himself a big fan of Johnson.

Last week he predicted Johnson would fix what Trump called the "disaster" that outgoing Conservative Prime Minister Theresa May had triggered in trying to lead Britain out of the European Union.

"He's a different kind of a guy, but they say I'm a different kind of a guy too. We get along well. I think we'll have a very good relationship," Trump told reporters.

- 'Challenging times ahead' -

"Congratulations to Boris Johnson for being nominated as prime minister," the incoming head of the European Commission, Ursula von der Leyen said in Paris. "I am looking forward to having a good working relationship with him.

"There are many different and difficult issues to tackle together. We have challenging times ahead of us," said von der Leyen, who takes office a day after Brexit is due to take place on October 31.

"We look forward to working constructively with PM Boris Johnson when he takes office, to facilitate the ratification of the Withdrawal Agreement and achieve an orderly Brexit," EU negotiator Michel Barnier tweeted.

"We are ready also to rework the agreed declaration on a new partnership in line with EUCO guidelines," Barnier said, referring to the non-binding political plan for future EU-UK ties that May signed in November.

Outgoing European Commission president Jean-Claude Juncker also sent his congratulations and said he wants to work with Johnson "in the best way possible", according to a spokeswoman.

- Iran warning -

"I congratulate my former counterpart, @BorisJohnson on becoming UK PM," Iranian Foreign Minister Mohammad Javad Zarif tweeted amid a standoff over the seizure of oil tankers.

"Iran does not seek confrontation. But we have 1500 miles of Persian Gulf coastline. These are our waters & we will protect them."

- 'Coordinate closely ' -

"I congratulate Boris Johnson and I will call him when he is officially prime minister," French President Emmanuel Macron said.

"I want very much to work with him as quickly as possible and not just on European subjects and the continuation of negotiations linked to Brexit, but also on international issues on which we coordinate closely with Britain and Germany... like the situation in Iran."

Italy's Deputy Prime Minister Matteo Salvini added: "All the best Boris Johnson. The fact that the left describes him as more dangerous than (Salvini's far right party) The League makes him all the more likeable to me."

- 'The bankers' friend' -

"Boris Johnson has won the support of fewer than 100,000 unrepresentative Conservative Party members by promising tax cuts for the richest, presenting himself as the bankers' friend, and pushing for a damaging No Deal Brexit," said Jeremy Corbyn, leader of Britain's main opposition Labour Party.

"But he hasn't won the support of our country," he said on Twitter.

"Johnson?s No Deal Brexit would mean job cuts, higher prices in the shops, and risk our NHS being sold off to US corporations in a sweetheart deal with Donald Trump.

"The people of our country should decide who becomes the Prime Minister in a General Election."

- 'Do or die '

"I wish Boris Johnson well as prime minister with his 'do or die' pledge to deliver Brexit on October 31," Britain's Brexit Party leader Nigel Farage said on Twitter.

"It is 'do or die' not just for Brexit but for the future of the Conservative party too. Does he have the courage to deliver for the country?"

- 'Down to business' -

"The new prime minister must not underestimate the benefits of a good (Brexit) deal," said Carolyne Fairbairn, director general of the Confederation of British Industry.

"The message to Boris Johnson from business communities around the UK couldn't be simpler: the time for campaigning is over-- and we need you to get down to business," said British Chamber of Commerce boss Adam Marshall.

- 'United Kingston' -

Ivanka Trump was perhaps too quick to react, tweeting "Congratulations @BorisJohnson on becoming the next Prime Minister of the United Kingston." Her gaffe was quickly corrected, but not before being noticed by thousands.