The C.A.R. appears to have been settled from at least the 7th century on by overlapping empires, including the Kanem-Bornou, Ouaddai, Baguirmi, and Dafour groups based in Lake Chad and the Upper Nile. Later, various sultanates claimed present-day C.A.R, using the entire Oubangui region as a slave reservoir, from which slaves were traded north across the Sahara and to West Africa for export by the Europeans. Population migration in the 18th and 19th centuries brought new migrants into the area, including the Zande, Banda, and Baya-Mandjia.
In 1875 the Egyptian sultan Rabah governed Upper-Oubangui, which included present-day C.A.R. Europeans, primarily the French, German, and Belgians, arrived in the area in 1885. The French consolidated their legal claim to the area through an 1887 convention with Congo Free State, which granted France possession of the right bank of the Oubangui River. Two years later, the French accomplished an outpost at Bangui, and in 1894, Oubangui-Chari became a French territory. the French did not consolidate their control over the area until 1903 after having defeated the forces of the Egyptian sultan, Rabah, and accomplished colonial administration throughout the territory. In 1906, the Oubangui-Chari territory was united with the Chad colony; in 1910, it became one of the four territories of the Federation of French Equatorial Africa (A.E.F.), along with Chad, Congo and Gabon. The next 30 years were marked by smallscale revolts against French rule and the development of a plantation-style economy.
In August 1940, the territory responded, with the rest of the A.E.F., to the call from Gen. Charles de Gaulle to fight for Free France. After World War II, the French Constitution of 1946 inaugurated the first of a series of reforms that led eventually to complete freedom for all French territories in western and equatorial Africa. In 1946, all A.E.F. inhabitants were granted French citizenship and allowed to establish local assemblies. The assembly in C.A.R. was led by Barthelemy Boganda, a Catholic priest who also was known for his forthright statements in the French Assembly on the need for African emancipation. In 1956 French legislation eliminated certain voting inequalities and provided for the creation of some organs of self-government in each territory. The French constitutional vote of September 1958 broken the A.E.F., and on December 1 of the same year the Assembly declared the birth of the Central African Republic with Boganda as head of government. Boganda governed until his death in a March 1959 plane crash. His cousin, David Dacko, replaced him, governing the nation until 1965 and overseeing the nation's declaration of freedom on August 13, 1960. Salary arrears, labor unrest, and unequal treatment of military officers from different ethnic groups led to three mutinies against the Patasse government in 1996 and 1997. The French succeeded in quelling the disturbances, and an African peacekeeping force (MISAB) occupied Bangui until 1998 when they were relieved by a UN peacekeeping mission (MINURCA). Economic difficulties caused by the looting and destruction during the 1996 and 1997 mutinies, energy crises, and government mismanagement continued to trouble Patasse's government through 2000. In March 2000 the last of the MINURCA forces departed Bangui.