Erdogan visits Russia after coup attempt stirs tensions with the West
Erdogan praises 'dear friend' Vladimir Putin in Russian-Turkish detente
Turkey's Erdogan unnerves West with Putin visit - 9 Aug 2016
Turkey has seen an upheaval in its foreign and domestic politics, exacerbated by the near-disastrous coup attempt on 15 July.
In view of the current "frost" in the AKP government's relations with both the US and the EU, President Recep Tayyip Erdogan's decision to choose Russia for his first official visit abroad since the botched coup appears rich in symbolism.
And Western leaders will be looking on nervously.
The EU's migrant deal with Turkey has run into trouble and the US is under pressure to extradite self-exiled Islamic leader Fethullah Gulen, whom Turkey blames for the coup.
But Tuesday's visit is not a snap decision by the Turkish state in reaction to a perceived lack of visible and credible Western support in times of crisis, nor is it in appreciation of President Putin's swift support.
.
.
Resetting relations
It came as no surprise when Turkey signalled a change in policy in mid-May.
Out went Prime Minister Ahmet Davutoglu and in came Binali Yildirim, who soon announced that the time had come for Turkey to "decrease the number of enemies and increase the number of friends", clearly alluding to Russia and Israel for starters.
Since then President Erdogan has issued some kind of rare "apology", deemed politically sufficient by team Putin - although Russian Foreign Minister Sergei Lavrov has insisted that sustainable normalisation will depend on how the two countries co-operate in the quagmire of the Syria crisis.
Mr Erdogan takes to St Petersburg a very broad agenda and a huge delegation. The two states are expected to reset the Turkish Stream gas pipeline project, as well as cover nuclear power plant construction and perhaps other energy related items.
They will also include resuming tourism, food exports and construction, which have all been hit hard since Russia imposed sanctions in November.
Presumably some efforts will also be made to clear the way for some understanding on Syria.
But the symbolic nature of this visit within weeks of the botched coup is far from lost on those in the US and EU who are searching for signs of possible permanent policy change.
Turkey is after all a key Nato power. And it has new sensitivities since the traumatic events of 15 July, while the West has been uneasy at President Erdogan's heavy-handedness before and especially since the attempted coup.
To the delight of President Putin, Mr Erdogan is presumably happy to keep the West wondering, and sweating, for now.