Algeria
Islam is the predominant religion in Algeria, with its adherents, mostly Sunnis, accounting for 99% of the population according to a 2012 CIA World Factbook estimate, and 97.9% according to Pew Research in 2010. There are about 150,000 Ibadis in the M'zab Valley in the region of Ghardaia.
Takfir
During the Algerian Civil War of 1991-2002 the Islamist insurgent group the GIA (Armed Islamic Group of Algeria) under amir Antar Zouabri issued a manifesto in 1996 entitled "The Sharp Sword", presenting Algerian society as resistant to jihad and lamented that the majority of Algerians had "forsaken religion and renounced the battle against its enemies". Zouabri at first took care to deny that the GIA had ever declared takfir on Algerian society itself. But during the month of Ramadan (January–February 1997) hundreds of civilians were killed in massacres, some with their throats cut. The massacres continued for months and culminated in August and September when hundreds of men women and children were killed in the villages of Rais, Bentalha and Beni Messous. Pregnant women were sliced open, children were hacked to pieces or dashed against walls, men's limbs were hacked off one by one, and, as the attackers retreated, they would kidnap young women to keep as sex slaves. The GIA issued a communiqué signed by Zouabri claiming responsibility for the massacres and justifying them—in contradiction to his manifesto—by declaring impious (takfir) all those Algerians who had not joined its ranks. While the GIA had been the "undisputed principal Islamist force" in Algeria two years earlier, the slaughters drained it of popular support and led to the end of "organized jihad" in Algeria. (The issue became complicated by evidence that security forces cooperated with the killers in preventing civilians from escaping, and may even have controlled the GIA.)