Russian President Vladimir Putin and Chinese President Xi Jinping plan to meet next week in Uzbekistan, a Russian official said Wednesday, announcing a summit that could signal another step in warming ties between two powers that are increasingly facing off against the West.

The meeting at the Shanghai Cooperation Organization — a political, economic and security forum that China and Russia dominate — comes at delicate times for both leaders.

Putin is dealing with the economic and political fallout of his war in Ukraine that has left Russia more isolated. Xi, meanwhile, is also facing a slowing economy as he seeks a third five-year term as Communist Party leader. While he’s expected to secure it, that would represent a break with precedent. Both have seen their countries’ relations with the West deteriorate.

Russian Ambassador to China Andrei Denisov told reporters that the two would meet at the organization’s summit in the Uzbek city of Samarkand on Sept. 15-16. “We are actively preparing for it,” Denisov was quoted by Russia’s state news agency Tass as saying.

The visit to Uzbekistan, if it goes ahead, would be part of Xi’s first foreign trip in 2½ years. Xi has only left mainland China once — to make a one-day visit to the semi-autonomous city of Hong Kong — since the start of the COVID-19 outbreak in late 2019.

When asked about the trip, Chinese Foreign Ministry spokesperson Mao Ning told a daily briefing Wednesday: “On your question, I have nothing to offer.”

Moscow and Beijing have increasingly aligned their foreign policies to oppose liberal democratic forces in Asia, Europe and beyond, making a stand for authoritarian rule with tight borders and little regard for free speech, minority rights or opposition politics.

The Russian military held sweeping military drills that ended Wednesday in the country’s east that involved forces from China, another show of increasingly close ties between the two.

Each leader may also be hoping to bolster his standing at home with the meeting. For Putin, it’s an opportunity to show that he still has powerful allies. For Xi, it could be a chance to be seen as standing up to Western opposition to the Ukraine war and burnish his nationalist credentials at a time when relations with the U.S. have grown increasingly tense over trade, technology, human rights issues and its threats to attack Taiwan.

Coming just ahead of China’s party congress, the overseas visits would also show Xi as confident of his position.

Putin and Xi last met in Beijing in February, weeks before the Kremlin sent troops into Ukraine. The two presidents oversaw the signing of an agreement pledging that relations between the sides would have “no limits.” It remains unclear whether Xi knew at the time of Russia’s plans to invade Ukraine.

While offering its tacit support for Russia’s campaign there, China has sought to appear neutral and avoid possible repercussions from supporting the Russian economy amid international sanctions.

Even though Moscow and Beijing in the past rejected the possibility of forging a military alliance, Putin has said that such a prospect can’t be ruled out. He also has noted that Russia has been sharing highly sensitive military technologies with China that helped significantly bolster its defense capability.