In the Central African Republic Bush War (2004–2007), the government of President François Bozizé fought with rebels until a peace agreement in 2007. The Central African Republic Civil War arose when a new coalition of varied rebel groups, known as Séléka, accused the government of failing to abide by the peace agreements and captured many towns at the end of 2012. The capital was seized by the rebels in March 2013, Bozizé fled the country, and the rebel leader Michel Djotodia declared himself president. Renewed fighting began between Séléka and militias called anti-balaka. In September 2013, President Djotodia disbanded the "Séléka" coalition, which had lost its unity after taking power, and in January 2014, Djotodia resigned. He was replaced by Catherine Samba-Panza, but the conflict continued. In July 2014, ex-Séléka factions and anti-balaka representatives signed a ceasefire agreement in Brazzaville. By the end of 2014, the country was de facto partitioned with the anti-Balaka controlling the south and west, from which most Muslims had evacuated, and ex-Seleka groups controlling the north and east.