About 500 BC Bantu-speaking peoples migrated to the area now known as Uganda. By the 14th Century there were three dominant kingdoms in the region-the Buganda, Bunyoro and Ankole. In the 19th Century explorers such as Richard Burton and Robert Livingstone found Uganda settled by the Nilotic peoples in the north and Bantu in the south, including the Baganda, from whom the country derived its name. In the 1890s Britain in a deal with Germany took possession of Uganda and Kenya while Germany apportioned Tanganyika (Tanzania) for itself. Independence from Britain in 1962 was followed by several decades of turmoil. Milton Obote seized power with the help of the second-in-command of the army, Colonel Idi Amin, and took Uganda down the road of nationalization before he was ousted in 1971 by Amin. Considered by many as one of Africa's most brutal leaders ever, Amin expelled the large Asian (mainly Indian) community and carried out massive purges resulting in the death of thousands. After exiled Ugandans with the help of neighboring Tanzania toppled Amin, Obote bounced back by winning a presidential election in 1980. This time he pursued liberal IMF-style economic policies to obtain aid from western donors and the economy perked up slightly until another coup in 1985 led to further instability. In 1986 a rebel army led by Yoweri Museveni, leader of the National Resistance Movement (NRM), took control. President. Museveni banned rallies by other political groups and invited his opponents to join the NRM. In the process he brought peace and a good measure of prosperity. He was reelected in 1996 and 2001.