The first human inhabitants of the Comoro Islands are thought to have been Polynesian and Melanesian settlers, Malays and Indonesians, travelling by boat. These people arrived no later than the sixth century AD, the date of the earliest known archaeological site, found on Nzwani, although settlement beginning as early as the first century has been postulated.
The islands of the Comoros were populated by a succession of peoples from the coast of Africa, the Arabian Peninsula and the Persian Gulf, the Malay Archipelago, and Madagascar. Bantu-speaking settlers reached the islands as a part of the greater Bantu expansion that took place in Africa throughout the first millennium.
According to pre-Islamic mythology, a jinni (spirit) dropped a jewel, which formed a great circular inferno. This became the Karthala volcano, which created the island of Grande Comoro.
Development of the Comoros was divided into phases. The earliest reliably recorded phase is the Dembeni phase (ninth to tenth centuries), during which each island maintained a single, central village. From the eleventh to the fifteenth centuries, trade with the island of Madagascar and merchants from the Middle East flourished, smaller villages emerged, and existing towns expanded. Many Comorians can trace their genealogies to ancestors from Yemen, mainly Hadhramaut, and Oman.
According to legend, in 632, upon hearing of Islam, islanders are said to have dispatched an emissary, Mtswa-Mwindza, to Mecca—but by the time he arrived there, the Islamic prophet Muhammad had died. Nonetheless, after a stay in Mecca, he returned to Ngazidja and led the gradual conversion of his islanders to Islam.
Among the earliest accounts of East Africa, the works of Al-Masudi describe early Islamic trade routes, and how the coast and islands were frequently visited by Muslims including Persian and Arab merchants and sailors in search of coral, ambergris, ivory, tortoiseshell, gold and slaves. They also brought Islam to the people of the Zanj including the Comoros. As the importance of the Comoros grew along the East African coast, both small and large mosques were constructed. Despite its distance from the coast, the Comoros is situated along the Swahili Coast in East Africa. It was a major hub of trade and an important location in a network of trading towns that included Kilwa, in present-day Tanzania, Sofala (an outlet for Zimbabwean gold), in Mozambique, and Mombasa in Kenya.
After the arrival of the Portuguese in the early 15th century and subsequent collapse of the East African sultanates, the powerful Omani Sultan Saif bin Sultan began to defeat the Dutch and the Portuguese. His successor Said bin Sultan increased Omani Arab influence in region, moving his administration to nearby Zanzibar, which came under Omani rule. Nevertheless, the Comoros remained independent, and although the three smaller islands were usually politically unified, the largest island, Ngazidja, was divided into a number of autonomous kingdoms (ntsi).
By the time Europeans showed interest in the Comoros, the islanders were well placed to take advantage of their needs, initially supplying ships of the route to India and, later, slaves to the plantation islands in the Mascarenes.
European contact and French colonisation
Portuguese explorers first visited the archipelago in 1503. The islands provided provisions to the Portuguese fort at Mozambique throughout the 16th century.
In 1793, Malagasy warriors from Madagascar first started raiding the islands for slaves. On the Comoros, it was estimated in 1865 that as much as 40% of the population consisted of slaves. France first established colonial rule in the Comoros in 1841. The first French colonists landed in Mayotte, and Andriantsoly (also known as Andrian Tsouli, the Sakalava Dia-Ntsoli, the Sakalava of Boina, and the Malagasy King of Mayotte) signed the Treaty of April 1841, which ceded the island to the French authorities.
The Comoros served as a way station for merchants sailing to the Far East and India until the opening of the Suez Canal significantly reduced traffic passing through the Mozambique Channel. The native commodities exported by the Comoros were coconuts, cattle and tortoiseshell. French settlers, French-owned companies, and wealthy Arab merchants established a plantation-based economy that used about one-third of the land for export crops. After its annexation, France converted Mayotte into a sugar plantation colony. The other islands were soon transformed as well, and the major crops of ylang-ylang, vanilla, coffee, cocoa beans, and sisal were introduced.
In 1886, Mohéli was placed under French protection by its Sultan Mardjani Abdou Cheikh. That same year, despite having no authority to do so, Sultan Said Ali of Bambao, one of the sultanates on Ngazidja, placed the island under French protection in exchange for French support of his claim to the entire island, which he retained until his abdication in 1910. In 1908 the islands were unified under a single administration (Colonie de Mayotte et dépendances) and placed under the authority of the French colonial governor general of Madagascar. In 1909, Sultan Said Muhamed of Anjouan abdicated in favour of French rule. In 1912 the colony and the protectorates were abolished and the islands became a province of the colony of Madagascar.
Agreement was reached with France in 1973 for the Comoros to become independent in 1978. The deputies of Mayotte abstained. Referendums were held on all four of the islands. Three voted for independence by large margins, while Mayotte voted against, and remains under French administration. On 6 July 1975, however, the Comorian parliament passed a unilateral resolution declaring independence. Ahmed Abdallah proclaimed the independence of the Comorian State (État comorien; دولة القمر) and became its first president.
The next 30 years were a period of political turmoil. On 3 August 1975, president Ahmed Abdallah was removed from office in an armed coup and replaced with United National Front of the Comoros (FNUK) member Prince Said Mohamed Jaffar. Months later, in January 1976, Jaffar was ousted in favour of his Minister of Defense Ali Soilih.
At this time, the population of Mayotte voted against independence from France in two referenda. The first, held on 22 December 1974, won 63.8% support for maintaining ties with France, while the second, held in February 1976, confirmed that vote with an overwhelming 99.4%. The three remaining islands, ruled by President Soilih, instituted a number of socialist and isolationist policies that soon strained relations with France. On 13 May 1978, Bob Denard returned to overthrow President Soilih and reinstate Abdallah with the support of the French, Rhodesian and South African governments. During Soilih's brief rule, he faced seven additional coup attempts until he was finally forced from office and killed.
In contrast to Soilih, Abdallah's presidency was marked by authoritarian rule and increased adherence to traditional Islam and the country was renamed the Federal Islamic Republic of the Comoros (République Fédérale Islamique des Comores; جمهورية القمر الإتحادية الإسلامية). Abdallah continued as president until 1989 when, fearing a probable coup d'état, he signed a decree ordering the Presidential Guard, led by Bob Denard, to disarm the armed forces. Shortly after the signing of the decree, Abdallah was allegedly shot dead in his office by a disgruntled military officer, though later sources claim an antitank missile was launched into his bedroom and killed him. Although Denard was also injured, it is suspected that Abdallah's killer was a soldier under his command.
A few days later, Bob Denard was evacuated to South Africa by French paratroopers. Said Mohamed Djohar, Soilih's older half-brother, then became president, and served until September 1995, when Bob Denard returned and attempted another coup. This time France intervened with paratroopers and forced Denard to surrender. The French removed Djohar to Reunion, and the Paris-backed Mohamed Taki Abdoulkarim became president by election. He led the country from 1996, during a time of labour crises, government suppression, and secessionist conflicts, until his death November 1998. He was succeeded by Interim President Tadjidine Ben Said Massounde.
The islands of Anjouan and Mohéli declared their independence from the Comoros in 1997, in an attempt to restore French rule. But France rejected their request, leading to bloody confrontations between federal troops and rebels. In April 1999, Colonel Azali Assoumani, Army Chief of Staff, seized power in a bloodless coup, overthrowing the Interim President Massounde, citing weak leadership in the face of the crisis. This was the Comoros' 18th coup, or attempted coup d'état since independence in 1975.
Azali failed to consolidate power and reestablish control over the islands, which was the subject of international criticism. The African Union, under the auspices of President Thabo Mbeki of South Africa, imposed sanctions on Anjouan to help broker negotiations and effect reconciliation. The official name of the country was changed to the Union of the Comoros and a new system of political autonomy was instituted for each island, plus a union government for the three islands was added.
Azali stepped down in 2002 to run in the democratic election of the President of the Comoros, which he won. Under ongoing international pressure, as a military ruler who had originally come to power by force, and was not always democratic while in office, Azali led the Comoros through constitutional changes that enabled new elections. A Loi des compétences law was passed in early 2005 that defines the responsibilities of each governmental body, and is in the process of implementation. The elections in 2006 were won by Ahmed Abdallah Mohamed Sambi, a Sunni Muslim cleric nicknamed the "Ayatollah" for his time spent studying Islam in Iran. Azali honoured the election results, thus allowing the first peaceful and democratic exchange of power for the archipelago.
Colonel Mohammed Bacar, a French-trained former gendarme, seized power as President in Anjouan in 2001. He staged a vote in June 2007 to confirm his leadership that was rejected as illegal by the Comoros federal government and the African Union. On 25 March 2008 hundreds of soldiers from the African Union and the Comoros seized rebel-held Anjouan, generally welcomed by the population: there have been reports of hundreds, if not thousands, of people tortured during Bacar's tenure. Some rebels were killed and injured, but there are no official figures. At least 11 civilians were wounded. Some officials were imprisoned. Bacar fled in a speedboat to the French Indian Ocean territory of Mayotte to seek asylum. Anti-French protests followed in the Comoros (see 2008 invasion of Anjouan).
Since independence from France, the Comoros experienced more than 20 coups or attempted coups.
Following elections in late 2010, former Vice-President Ikililou Dhoinine was inaugurated as President on 26 May 2011. A member of the ruling party, Dhoinine was supported in the election by the incumbent President Ahmed Abdallah Mohamed Sambi. Dhoinine, a pharmacist by training, is the first President of the Comoros from the island of Mohéli.