Thanks for following our live page on the ceasefire deal agreed on 29 December 2016.

We're wrapping up now, but here are the key points:

A ceasefire agreed between the Syrian government and most rebel groups will come into force at midnight (22:00 GMT)

It will be guaranteed by Russia and Turkey, who back opposing sides in the conflict

Russia is expected to withdraw troops but keep a presence at an air base and a naval facility in Syria

The UN's special envoy for Syria says he hopes the deal will save civilian lives

Peace talks are due to take place in the next month in the capital of Kazakhstan, Astana

But several groups who are fighting in the region - the Kurdish YPG militia, the jihadist group Jabhat Fateh al-Sham, and the so-called Islamic State - are not included in the deal

And the US has not been involved in brokering it

Previous ceasefires have fallen apart

Syrian President Bashar al-Assad has said European countries should "stop supporting terrorists" - meaning rebel groups in the opposition

Need more?

This multimedia story - produced in March when the conflict had been running for five years - does a good job of breaking down the three stages of the war, from shootings to mortar fire to air strikes.

Why is there a war in Syria? takes you through the causes of the conflict, the various international parties who have got involved, and some of the reasons why it has lasted so long.

And here's our main story on the ceasefire.