The Syrian government announced a ceasefire with the Kurdish-led Syrian Democratic Forces (SDF) on Sunday. This deal gives the government almost full control of Syria and ends the SDF’s decade-long hold on the northeast. Earlier this month, government forces pushed hard into eastern provinces, leading to clashes. The SDF withdrew after the fighting in eastern Aleppo province. SDF leader Mazloum Abdi confirmed in a video that they accepted the deal ‘‘to stop the bloodshed.’’ He said, ‘‘We will explain the terms of the agreement to our people in the coming days.’’ Syria’s defense ministry ordered a halt to fighting after the announcement. The SDF agreed to leave Raqqa and Deir el-Zour provinces. These areas contain vital oil and gas fields, river dams on the Euphrates, and border checkpoints. State news agency Sana showed President Ahmad al-Sharaa signing the agreement. Abdi could not travel due to bad weather but his signature was on the papers. Al-Sharaa called the deal ‘‘a victory for all Syrians of all backgrounds.’’ He said Syria hopes to move ‘‘from division to unity and progress.’’ Both the Syrian government and the SDF have been US allies. US envoy Tom Barrack met al-Sharaa and spoke to Abdi by phone. He praised the ceasefire as a ‘‘pivotal inflection point’’ toward a united Syria. The agreement dismantles the SDF. Its fighters will join Syria’s military and security forces. Senior SDF officials will get high government roles. The SDF will hand over Raqqa and Deir el-Zour to the government. In Hassakah province, the Kurdish civilian administration will return to Damascus. Kurdish agencies running prisons and camps with thousands of ISIS detainees will also be handed back. No clear timeline was given. Implementation will start gradually, beginning with the ceasefire. After the deal, government troops moved into Raqqa. The SDF seemed to withdraw. Crowds in Raqqa celebrated with Syrian flags and fireworks late into the night.