BEIRUT/MOSCOW (Reuters) - As President Bashar al-Assad’s army closed in on the last rebel enclave in Aleppo on Tuesday, Russia, Iran and Turkey said they were ready to help broker a Syrian peace deal.

The Syrian army used loudspeakers to broadcast warnings to insurgents that it was poised to enter their rapidly diminishing area during the day and told them to speed up their evacuation of the city.

Complete control of Aleppo would be a major victory for Assad against rebels who have defied him in Syria’s most populous city for four years.

Ministers from Russia, Iran and Turkey adopted a document they called the “Moscow Declaration”, which set out the principles that any peace agreement should follow. At talks in the Russian capital, they also backed an expanded ceasefire in Syria.

“Iran, Russia and Turkey are ready to facilitate the drafting of an agreement, which is already being negotiated, between the Syrian government and the opposition, and to become its guarantors,” the declaration said.

The move underlines the growing strength of Moscow’s links with Tehran and Ankara, despite the murder on Monday of Russia’s ambassador to Turkey, and reflects Russian President Vladimir Putin’s desire to cement his influence in the Middle East and beyond.

Russia and Iran back Assad while Turkey has backed some rebel groups.

Putin said last week that he and his Turkish counterpart Tayyip Erdogan were working to organize a new series of Syrian peace negotiations without the involvement of the United States or the United Nations.

For his part, U.N. Syria mediator Staffan de Mistura intends to convene peace talks in Geneva on Feb. 8.

Russian Foreign Minister Sergei Lavrov said the U.N.-brokered negotiations in Geneva had run into a dead end due to ultimatums from the Syrian opposition in exile.

But in a telephone call Lavrov and U.S. Secretary of State John Kerry discussed restarting negotiations between the warring sides, the Russian foreign ministry said.

GRIM EVACUATION

In Syria, an operation to evacuate civilians and fighters from rebel-held eastern Aleppo has now brought out 37,500 people since late last week, Turkey said. As more buses left the city on Tuesday, Turkish and Russian ministers estimated the evacuation would be complete within two days.

But it is hard to know if that goal is realistic, given the problems that have beset the evacuation so far and the wide variation in estimates of how many have left and how many remain. The International Committee of the Red Cross put the number evacuated since the operation began on Thursday at only 25,000.

A rebel official in Turkey told Reuters that even after thousands left on Monday, only about half of the civilians who wanted to leave had done so.

Insurgent fighters would only leave once all the civilians who wanted to go had departed, the rebel said. The ceasefire and evacuation agreement allows rebels to carry personal weapons but not heavier arms.

Estimates of the number of people waiting for evacuation range from a few thousand to tens of thousands.

Slideshow ( 5 images )

The United Nations said Syria had authorized the world body to send 20 more staff to east Aleppo who would monitor the evacuation.

A U.N. official said 750 people had been evacuated from the two besieged Shi’ite villages of Foua and Kefraya, which government forces had insisted must be included in the deal to bring people out of Aleppo.

The evacuations are part of a ceasefire arrangement that ends fighting in Aleppo, once Syria’s most populous city.

Conditions for those being evacuated are grim, with evacuees waiting for convoys of buses in freezing winter temperatures. An aid worker said that some evacuees had reported that children had died during the long, cold wait.

Slideshow ( 5 images )

PATRIOTIC MUSIC

In government-held parts of Aleppo, the mood was very different.

A large crowd thronged to a sports hall in the city, waving Syrian flags and dancing to patriotic music, a large portrait of Assad hanging on one wall, in a celebration of the rebels’ defeat in the city that was broadcast live on state television.

The rebel withdrawal from Aleppo after a series of rapid advances by the army and allied Shi’ite militias including Hezbollah since late November has brought Assad his biggest victory of the nearly six-year-old war.

However, despite the capture of Aleppo and progress against insurgents near Damascus, the fighting is far from over, with large areas remaining in rebel control in the northwestern countryside and in the far south.

The jihadist group Islamic State also controls swathes of territory in the deserts and Euphrates river basin in eastern Syria.

Assad is backed by Russian air power and Shi’ite militias including Lebanon’s Hezbollah movement and Iraq’s Harakat al-Nujaba. The mostly Sunni rebels include groups supported by Turkey, the United States and Gulf monarchies.

For four years, the city was split between a rebel-held eastern sector and the government-held western districts. During the summer, the army and its allies besieged the rebel sector before using intense bombardment and ground assaults to retake it in recent months.