In April 2007, about 35 people were killed and hundreds wounded when suicide bombers attacked a government building in Algiers and a police station on the outskirts of the capital. Al-Qaeda in the Islamic Maghreb claimed responsibility for the attack. The terrorist group struck again in December, killing as many as 60 people in two suicide attacks near UN offices and government buildings in the capital of Algeria. The bombings occur within minutes of each other. It was the worst attack in Algeria in more than 10 years.
In June 2008, President Bouteflika replaced Prime Minister Abdelaziz Belkhadem with Ahmed Ouyahia, who had served twice as premier.
At least 43 people were killed in August 2008, when a suicide bomber drove an explosives-laden car into a police academy in Issers, a town in northern Algeria. The next day, two car bombs exploded simultaneously at a military command and a hotel in Bouira, killing a dozen people. No group takes responsibility for the attacks, but Algerian officials said they suspected Al-Qaeda in the Islamic Maghreb was behind the bombings.
In November 2008, Parliament approved constitutional changes that allow President Bouteflika to run for a third term. The opposition criticized the move, calling it an assault on democracy. Bouteflika went on to win reelection in April 2009, taking more than 90% of the vote.
The oppositions hope for gaining influence and a voice in government were dashed in parliamentary elections in May 2012. A coalition of moderate Islamist parties were optimistic that they could ride the wave of change and reform that has swept the region since the Arab Spring of 2011. But the coalition won only 48 out of 463 seats, and accused the ruling National Liberation Front (FLN), which took 220 seats, of fraud.