China is eager to “help” peace negotiations between Washington and Tehran, U.S. President Donald Trump said Thursday, as he concluded a two-day presidential summit in Beijing.

In an interview with Fox News on Thursday, Trump said his Chinese counterpart Xi Jinping had ruled out sending military assistance to U.S. forces in Iran, but that he had offered diplomatic help.

“He’d like to see Hormuz Strait opened,” Trump said, adding that Xi said China was ready to assist efforts to bring the war to an end.

“He said, ‘if I can be of any help at all, I would like to be of help’,” Trump said.

Speaking to reporters on board Air Force One on Friday, Trump said he and Xi “agree almost entirely” on the situation in Iran.