Syria's embattled President Bashar al-Assad has made a surprise visit to Moscow for talks with Russian President Vladimir Putin, his first foreign trip since the conflict erupted in 2011.
Putin pledged to continue to support Damascus militarily, while calling for a political solution involving all groups to try to end the war, the Kremlin said on Wednesday (local time).
For his part, Assad told Putin that Russia's air strikes launched in Syria last month had helped stop the spread of "terrorism" in his country, it said.
Kremlin spokesman Dmitry Peskov described the lightning trip on Tuesday as a "working visit", and by Wednesday morning, Assad was back in Damascus, the Syrian presidency told AFP.
It appears the Kremlin waited for the Syrian leader to return home before breaking the news of the visit.
"We are ready to make our contribution not only during armed hostilities in the fight against terrorism but also during a political process," Putin told Assad.
The Syrian leader also stressed the importance of "further political steps", according to a Kremlin statement.
He thanked Putin for his decision to launch its air campaign in Syria on September 30, Russia's first military foray outside the former Soviet Union since its occupation of Afghanistan in 1979.
"I need to say that the political steps which Russia has taken since the start of the crisis prevented the events in Syria from developing along a more tragic scenario," Assad said in quotes released by the Kremlin.
"Terrorism which has now spread through the region would have consumed much larger areas and would have spread throughout much more territory if it were not for your actions and your decisions," he said in comments translated into Russian.
Around 250,000 people have been killed since the conflict first began in March 2011, and half the population has been made homeless.
Putin said it was the Syrian people that should decide the fate of their country.
"At the end of the day a long-term settlement can be achieved on the basis of a political process with the participation of all political forces, ethnic and religious groups," the Kremlin strongman said.
"And ultimately, the final word no doubt should rest solely with the Syrian people."