Ivory Coast
First civil war

A presidential election was held in October 2000 in which Laurent Gbagbo vied with Guéï, but it was not peaceful. The lead-up to the election was marked by military and civil unrest. Following a public uprising that resulted in around 180 deaths, Guéï was swiftly replaced by Gbagbo. Ouattara was disqualified by the country's Supreme Court because of his alleged Burkinabé nationality. The constitution did not allow noncitizens to run for the presidency. This sparked violent protests in which his supporters, mainly from the country's north, battled riot police in the capital, Yamoussoukro.

In the early hours of 19 September 2002, while Gbagbo was in Italy, an armed uprising occurred. Troops who were to be demobilised mutinied, launching attacks in several cities. The battle for the main gendarmerie barracks in Abidjan lasted until mid-morning, but by lunchtime the government forces had secured Abidjan. They had lost control of the north of the country, and rebel forces made their stronghold in the northern city of Bouaké. The rebels threatened to move on to Abidjan again, and France deployed troops from its base in the country to stop their advance. The French said they were protecting their citizens from danger, but their deployment also helped government forces. That the French were helping either side was not established as a fact, but each side accused the French of supporting the opposite side. Whether French actions improved or worsened the situation in the long term is disputed. What exactly happened that night is also disputed.

The government claimed that former president Robert Guéï led a coup attempt, and state TV showed pictures of his dead body in the street; counter-claims stated that he and 15 others had been murdered at his home, and his body had been moved to the streets to incriminate him. Ouattara took refuge in the German embassy; his home had been burned down. President Gbagbo cut short his trip to Italy and on his return stated, in a television address, that some of the rebels were hiding in the shanty towns where foreign migrant workers lived. Gendarmes and vigilantes bulldozed and burned homes by the thousands, attacking residents. An early ceasefire with the rebels, which had the backing of much of the northern populace, proved short-lived and fighting over the prime cocoa-growing areas resumed. France sent in troops to maintain the cease-fire boundaries, and militias, including warlords and fighters from Liberia and Sierra Leone, took advantage of the crisis to seize parts of the west.

In January 2003, Gbagbo and rebel leaders signed accords creating a "government of national unity". Curfews were lifted, and French troops patrolled the country's western border. The unity government was unstable, and central problems remained with neither side achieving its goals. In March 2004, 120 people were killed at an opposition rally, and subsequent mob violence led to the evacuation of foreign nationals. A report concluded the killings were planned. Though UN peacekeepers were deployed to maintain a "Zone of Confidence", relations between Gbagbo and the opposition continued to deteriorate.

Early in November 2004, after the peace agreement had effectively collapsed because the rebels refused to disarm, Gbagbo ordered airstrikes against the rebels. During one of these airstrikes in Bouaké, on 6 November 2004, French soldiers were hit, and nine were killed; the Ivorian government said it was a mistake, but the French claimed it was deliberate. They responded by destroying most Ivorian military aircraft (two Su-25 planes and five helicopters), and violent retaliatory riots against the French broke out in Abidjan.

Gbagbo's original term as president expired on 30 October 2005, but a peaceful election was deemed impossible, so his term in office was extended for a maximum of one year, according to a plan worked out by the African Union and endorsed by the United Nations Security Council. With the late-October deadline approaching in 2006, the election was regarded as very unlikely to be held by that point, and the opposition and the rebels rejected the possibility of another term extension for Gbagbo. The UN Security Council endorsed another one-year extension of Gbagbo's term on 1 November 2006; however, the resolution provided for strengthening of Prime Minister Charles Konan Banny 's powers. Gbagbo said the next day that elements of the resolution deemed to be constitutional violations would not be applied.

A peace accord between the government and the rebels, or New Forces, was signed on 4 March 2007, and subsequently Guillaume Soro, leader of the New Forces, became prime minister. These events were seen by some observers as substantially strengthening Gbagbo's position. According to UNICEF, at the end of the civil war, water and sanitation infrastructure had been greatly damaged. Communities across the country required repairs to their water supply.
oulipo:avoid_letter[a], startend:end_checker