The Algerian Civil War was an armed conflict between the Algerian government and various Islamist rebel groups which began in 1991. It is estimated to have cost between 150,000 and 200,000 lives. More than 70 journalists were assassinated, either by security forces or by Islamists The conflict effectively ended with a government victory, following the surrender of the Islamic Salvation Army and the 2002 defeat of the Armed Islamic Group. However, low-level fighting still continues in some areas.
The conflict began in December 1991, when the government cancelled elections after the first round results had shown that the Islamic Salvation Front (FIS) party would win, citing fears that the FIS would end democracy. After the FIS was banned and thousands of its members arrested, Islamist guerrillas rapidly emerged and began an armed campaign against the government and its supporters. They formed themselves into several armed groups, principally the Islamic Armed Movement (MIA), based in the mountains, and the Armed Islamic Group (GIA), based in the towns. The guerrillas initially targeted the army and police, but some groups soon started attacking civilians. In 1994, as negotiations between the government and the FIS's imprisoned leadership reached their height, the GIA declared war on the FIS and its supporters, while the MIA and various smaller groups regrouped, becoming the FIS-loyalist Islamic Salvation Army (AIS).
Soon after, the talks collapsed, and new elections were held—won by the army's candidate, General Liamine Zéroual. Conflict between the GIA and AIS intensified. Over the next few years, the GIA began a series of massacres targeting entire neighborhoods or villages; some evidence also suggests the involvement of government forces. These massacres peaked in 1997 around the parliamentary elections, which were won by a newly created pro-Army party, the National Democratic Rally (RND). The AIS, under attack from both sides, opted for a unilateral ceasefire with the government in 1997, while the GIA was torn apart by splits as various subdivisions objected to its new massacre policy. In 1999, following the election of a new president, Abdelaziz Bouteflika, a new law gave amnesty to most guerrillas, motivating large numbers to "repent" (as it was termed) and return to normal life. The violence declined substantially, with effective victory for the government. The remnants of the GIA proper were hunted down over the next two years, and had practically disappeared by 2002.
A splinter group of the GIA, the Salafist Group for Preaching and Combat (GSPC), initially based on the fringes of Kabylie, formed in 1998 to dissociate itself from the massacres. However, despite its former repudiation of attacking non-combatants, they "...eventually returned to killing civilians" and in October of 2003, publicly endorsed Al-Qaeda. The GSPC rejected the amnesty and has continued to fight, although many individual members have surrendered. While as of 2006, its comparatively sparse activities - mainly in mountainous parts of the east - are the only remaining fighting in Algeria, a complete end to the violence is not yet in sight.