President Vladimir Putin hailed close ties between the Russian and Turkeyinfo-icon militaries as he welcomed Turkish counterpart Recep Tayyip Erdogan for Friday's talks focusing on Syriainfo-icon.

Russiainfo-icon and Turkey co-brokered a ceasefire in December that helped reduce the scale of fighting between Syrian President Bashar Assad and the opposition, and they also co-sponsored two rounds of talks this year between Assad's government and its foes. A third round is set for next week.

Russia and Turkey also coordinated their operations against the militant Islamic Stateinfo-icon group in Syria. A Russian air raid last month accidentally killed three Turkish soldiers, but the incident didn't derail the military coordination.

"We are actively working to solve the most acute crises, first of all in Syria," Putin said as he greeted Erdogan at the start of the talks in the Kremlin. "I'm very pleased to note, and few seemed to expect it, that our military and special services have established such efficient and close contact."

Earlier this week, the chief military officers from Russia, the USinfo-icon and Turkey met in the Turkish city of Antalya in an apparent attempt to work out additional steps to prevent incidents. The talks also focused on how to help assuage mutual mistrust between Turkish-backed Syrian opposition forces, US-backed Kurdish forces, and Russian-allied Syrian government forces all fighting their way toward IS' de facto capital, Raqa.

Putin scheduled a meeting of his Security Council including top military and intelligence officials on Friday to follow the talks with Erdogan.

The increasingly close cooperation on Syria between Russia and Turkey marked a sharp turnaround for the two nations, which have backed opposing sides in Syria, with Moscowinfo-icon siding with Assad and Turkey supporting his foes since the start of the Syrian conflictinfo-icon six years ago.

The conflicting interests led to the downing of a Russian warplane by a Turkish jet at the Syrian border in November 2015, which put the two nations on the verge of a direct military conflict. Moscow responded by barring the sales of package tours to Turkey and halting imports of agricultural products, moves that badly squeezed the Turkish economyinfo-icon.

Erdogan's apologies for downing the plane helped rebuild ties, and Putin offered firm support to the Turkish leader in the wake of a botched coup last July.

Despite the rapprochement, Russia has moved gradually to lift economic restrictions, keeping some in place as an apparent motivator for Turkey.