Ties between Syria and Russia go back not only through the Soviet Union but even to Czarist Russia.
Now, presumably because Russia is so focused on Ukraine, it was unable to save its ally, President Bashar al-Assad, from being deposed by Islamist insurgents.
Assad is safely in Moscow but Damascus is a different matter.