China and Saudi Arabia signed agreements potentially worth tens of billions of dollars on Thursday, Beijing said, as President Xi Jinping welcomed Saudi King Salman on a state visit.
The visit by the 81-year-old king comes as China pursues a charm offensive towards the Middle East, where it has previously kept a low profile.
The trip returns the favour after Xi visited the kingdom last year as part of the first state visit to the Middle East by a Chinese leader in seven years.
No specifics were given about the 14 memoranda of understanding that were signed at Beijing's Great Hall of the People, which included agreements in energy, and a range of other spheres.
But China's Vice Foreign Minister Zhang Ming told reporters various projects could be worth up to $65 billion.
King Salman arrived Wednesday with a reportedly massive entourage of around 1,000 people following stops in Japan, Malaysia and Indonesia as part of a month-long Asia tour.
Local media in countries they visited have fixated on Salman's lavish travelling party, which is said to have included luxury vehicles, an 80-inch (200 centimetre) television and hundreds of tons of luggage.
China is pivoting towards the Middle East, and Saudi Arabia is strengthening its alliances in east Asia, as the United States' global diplomatic stance under President Donald Trump remains unclear.
China depends on the volatile Middle East for oil supplies but has long taken a back seat in its disputes.
- A new approach -
But over the past year Xi has taken a new approach, with steps that include offering to host talks between the opposing parties in the Syrian conflict.
Zhang said both the Syrian and Yemen wars were discussed on Thursday, with the two parties agreeing that the crises should be resolved through political discussions.
China is also pushing Xi's signature "One Belt, One Road" policy, a strategy to increase trade links and market connectivity between China, Europe and regions in between, based loosely on the ancient "Silk Road" trading route.
"This visit will push forward and continue to improve the quality of our relations and bear new fruit," Xi told the king, who entered their meeting walking gingerly with a cane and later arrived at the day's closing ceremonies in a small green motorised cart.
China has been Saudi Arabia's largest trading partner since 2015 and the kingdom was for years the biggest source of crude oil for the fuel-hungry Chinese economy.
Russia last year supplanted the Saudis as China's top oil source, according to official Chinese statistics.
The visit is the monarch's first to China since taking the throne in 2015.
Ties between Riyadh and Washington were strained during the Obama administration, and although they are expected to improve under Trump, the Saudis are keen to solidify east Asian ties as a hedge.
"Past (China-Saudi) ties were good, but at least from a Saudi perspective, can use a significant boost," said Joseph Kechichian, a senior fellow at Riyadh's King Faisal Center for Research and Islamic Studies.
In an interview with Chinese state news agency Xinhua, Saudi ambassador Turki Bin Mohamed Al-Mady emphasised his country's potential role in the "One Belt, One Road" initiative.
"In terms of strategic location, Saudi Arabia serves as the central hub connecting three continents -- Asia, Africa and Europe -- and has been an important part of the initiative," Al-Mady said.
Zhang said Salman pledged Saudi Arabia's enthusiastic participation in the trade project.