China's President Xi Jinping warned against a return to the "law of the jungle" in international relations and called for closer economic ties with Spain as he met Prime Minister Pedro Sanchez on Tuesday, according to Chinese state media.
The meeting in Beijing came on the second day of Sanchez's visit as he seeks to position Spain as a bridge between China and the European Union, whose relations with the United States are under strain.
Xi told Sanchez the two countries should strengthen cooperation in the face of global "chaos and turmoil" and "a contest between justice and force", according to a readout of the talks from state broadcaster CCTV.
"Both China and Spain are principled countries that stand for justice. They should strengthen communication, consolidate mutual trust, and cooperate closely to oppose the world's regression to the law of the jungle," Xi said during talks in the Great Hall of the People.
"How a country treats international law and the international order reflects its worldview, its conception of order, its values, and its sense of responsibility," Xi said.
Spain and China should "seize opportunities" for cooperation in trade, new energy and technology fields, he said.
Sanchez welcomed China's role in seeking to resolve the conflict in the Middle East, after a first round of US-Iranian negotiations in Pakistan ended without an agreement.
"The role China can play is important in order to find diplomatic means that end this war and contribute to stability and peace," Sanchez told a news conference after the talks.
The Socialist leader said international law in the region "is being violated basically by one country", Israel, which has invaded Lebanon in its latest conflict with Iran-backed Hezbollah.
Sanchez referred to "those who commit violations or genocides, which is what we are seeing in Gaza, and let us hope the same does not happen in Lebanon, that crimes do not go unpunished".