China’s Foreign Minister has urged leaders in Afghanistan and Pakistan to improve relations and establish a crisis prevention and management mechanism during visits to both countries, the Chinese Foreign Ministry said.

Foreign Minister Wang Yi was scheduled to speak in Islamabad on Sunday, a day after meeting Afghan President Ashraf Ghani in Kabul. Mr. Wang said a three-way conference mechanism involving the two countries and China could promote dialogue and cooperation, the Chinese ministry said.

“China sincerely wishes for Afghanistan and Pakistan to improve relations, rebuild mutual trust strengthen cooperation, achieve mutual safety and mutually development,” Mr. Wang said, according to the statement. “As Afghanistan and Pakistan's mutual friend, China encourages them to establish a crisis prevention and management mechanism as soon as possible, to properly deal with any kind of sudden occurrence.”

In Pakistan, Mr. Wang “held wide-ranging discussions” on bilateral relations, regional security and the situation in Afghanistan, the Pakistani Foreign Ministry said.