DUBAI, United Arab Emirates (AP) — Chinese leader Xi Jinping met on Thursday with Saudi Arabia’s king and crown prince while on a visit to the kingdom, solidifying ties with a region crucial to his country’s energy supplies as sanctions intensify on Russia over its war on Ukraine.

Xi arrived at Al Yamama Palace in Riyadh and was greeted by Crown Prince Mohammed bin Salman, King Salman’s assertive son who stands ready to rule the oil-rich kingdom in the decades to come. Xi shook hands with the prince as an honor guard on horseback carried Saudi and Chinese flags.

It wasn’t immediately clear what Xi focused on in his discussions, though he wrote in a newspaper column published by Al Riyadh newspaper that “exchanges between China and Arab states date back more than 2,000 years.” The column also quoted a saying by Islam’s Prophet Muhammad: “Seek knowledge even if you have to go as far as China.”

“The Arab people value independence, oppose external interference, stand up to power politics and high-handedness, and always seek to make progress,” Xi’s column read.

He also noted that the Gulf Cooperation Council countries, which include Bahrain, Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, serve as “an energy tank for world economy.” China, the world’s largest crude oil importer, relies heavily on Saudi oil, paying tens of billions of dollars annually to the kingdom.

Saudi state media released silent video of Xi and Prince Mohammed meeting at the palace, with a large picture of King Salman hanging in the background. Another video showed Xi later talking with the 86-year-old monarch and signing documents alongside him. Many of the Saudi officials wore facemasks in that meeting.

Saudi officials later said deals had been signed between the nations, including some involving Chinese technology company Huawei on cloud-computing, data centers and other high-tech ventures. The U.S. has already has warned its Gulf Arab allies about working with Huawei over spying concerns.

Xi and King Salman also agreed to holding meetings between the two countries’ leaders every two years, the state-run Xinhua news agency reported.

The agency later reported that Xi met with Sudanese military leader Gen. Abdel-Fattah Burhan after a deal Monday to establish a civilian-led transitional government following the military takeover there last year. However, no timeline has been set and the deal sparked renewed protests Thursday in the country.

Xi separately met with Egyptian President Abdel-Fattah el-Sissi and Palestinian President Mahmoud Abbas as well in Riyadh.

Gulf Arab states are trying to recalibrate their foreign policy as the United States turns its attention elsewhere in the world.

Russia’s war on Ukraine — and the West’s hardening stance on Moscow — has also left the Arab countries wanting to cement ties with China. For Prince Mohammed, hosting Xi boosts his own international profile after being linked to the killing of Washington Post columnist Jamal Khashoggi.

Beyond China’s oil purchases, its construction expertise could be tapped as well for Prince Mohammed’s planned $500 billion futuristic city of Neom on the Red Sea. Chinese construction firms have worked elsewhere in Arab countries in the Persian Gulf, particularly in Dubai in the UAE.

Saudi Arabia, home to the holiest sites in Islam, also has provided political cover to China over its harsh policies toward Uyghurs and other Muslim minorities. More than a million have been sent to detention centers, forced to denounce Islam and swear fealty to Xi and the party.

The trip to Saudi Arabia marks a further move by Xi to restore his global profile after spending most of the pandemic inside China. The visit is his third overseas trip since early 2020. It also comes as Xi, who was granted a third five-year term as leader in October, has faced street protests over his zero-COVID-19 policies that represent the most-significant challenge to his rule.

During the visit, Xi is expect to attend the inaugural China-Arab States Summit and a meeting of the GCC.

___

Follow Jon Gambrell on Twitter at www.twitter.com/jongambrellAP.