Russia and Turkey have brokered a landmark ceasefire between the Syrian government and opposition groups fighting in the country.

While previous ceasefires have been negotiated within Syria during specific battles, this is the first such nationwide and wide-reaching truce since fighting broke out in 2011.

Russian President Vladimir Putin said that while the agreement is "fragile," both the opposition and the government have agreed to the terms, according to RT. He explained that three documents have been signed. 

The first document is the agreement to end hostilities between the two sides, the second is " a set of measures to control the ceasefire," and the third is "a declaration of intention for Syrian settlement," Putin said.

Seven main rebel groups have agreed to the ceasefire, including the western-backed Syrian National Coalition. Collectively, these groups account for some 60,000 fighters in the country.

The Syrian military has said that it will cease all military operations as of 12:00 a.m. Friday, Dec. 30. Russia has also said it will decrease its military presence in the country.

Russian Foreign Minister Sergei Lavrov said that he expects that Saudi Arabia, Qatar and other countries who have supported rebel groups financially will come on board with the agreement moving forward.

Turkey, which has traditionally been seen to oppose the Syrian government and has supported rebel groups throughout the conflict, has called on all parties to adhere to the agreement. It has asked for those who can, to exert influence on all armed groups to support the deal.

ISIS and Jabhat Fateh al-Sham, formerly known as the al-Nusra Front, have not agreed to the ceasefire. But both of these groups have been at odds with other opposition parties, often fighting against them as well as the Syrian government, and faces a wider and more aggressive coalition against it.  

Putin also stressed that this ceasefire does not mean Russia will end efforts to root out terrorism in Syria. 

But if the ceasefire holds, it will allow the Syrian government and its supporters to better address extremist groups, such as ISIS, in the country.

Iraq's Prime Minister Haider al-Abadi said this week that he believes ISIS can be defeated "within three months," according to CNN. The extremist group has targeted parts of Iraq and Syria, attempting to create an independent state through extreme and often brutal policies.