A ceasefire deal between the Syrian government and the armed opposition has been reached, Russian President Vladimir Putin announced Thursday.
"Three documents have been signed," Putin said. "A ceasefire between the Syrian government and the armed opposition is one. A package of measures to control the ceasefire is another. And a declaration of readiness to enter into peace talks on a settlement in Syria is the third."
Russia, Turkey to guarantee truce
The deal halts attacks and stops the government and opposition from expanding territories under their control. The ceasefire is scheduled to go into effect at midnight Thursday.
Putin said Russia and Turkey will guarantee the truce. Russia and Turkey worked together on several ceasefire agreements in Aleppo earlier this month. Although many of the deals didn't succeed, the final one paved the way for the evacuations of thousands of civilians.
Talks to follow ceasefire
The deal will be followed by peace talks between Syrian President Bashar al-Assad's government and armed opponents of his regime. Although a date was not specified, Putin said the Syrian parties would meet in Kazakhstan for the talks.
Putin didn't say how many troops and weapons will be withdrawn, but added that Russia will continue "fighting international terrorism in Syria" -- likely referring to the Islamic State and the Fatah al-Sham Front, which is linked to al-Qaida.
6 years of war
Russia also vowed to continue supporting Assad's military, while Turkey supports the opposition.
If the ceasefire succeeds, it will end Syria's nearly six-year-long civil war.
The Associated Press contributed to this report.