|Five hundred years before Christ, there arose in central Nigeria a culture that was among the most advanced and richest of the ancient world. By the first millennium, Islam had come to Nigeria and three centuries later, trade routes emanating from northern Nigeria stretched from Africa to Europe and the Middle East. Portugal was the first European power to establish trading stations in the 1400s. The Dutch, British, and other countries vied with Portugal to control the lucrative slave trade that was organized out of Nigeria and by the 1700s, the British controlled most of the coastal region. The tide changed after Britain abolished slavery and sought to eliminate slave trading. In 1861, Nigeria was made a British colony and in 1906, land east of the Niger River was incorporated into the colony. Slowly, Britain began to prepare the country for self-rule: in 1946 Britain divided Nigeria into three parts, each with an advisory assembly. Nigeria was restructured as the Nigerian Federation in 1954. The country experienced difficulties in the 1960s as the various ethnic groups making up the country battled for control. In 1966, a civil war erupted following a coup in which the prime minster and many others were killed. Between 1967 and 1970, the war in Biafra raged. Biafra was the region that seceded from Nigeria after rejecting a plan that divided the country into 12 states. This devastating conflict cost the lives of at least a million Biafrans (mostly of the Ibo tribe) and severely damaged the Nigerian economy. But through the years, political instability, as manifested by coup after coup, has been a constant in the country. In 1999, the first popularly-elected president in 16 years came into office.