The history of Uganda comprises the history of the people who inhabited the territory of present-day Uganda before the establishment of the Republic of Uganda, and the history of that country once it was established. Evidence from the Paleolithic era shows humans have inhabited Uganda for at least 50,000 years. The forests of Uganda were gradually cleared for agriculture by people who probably spoke Bantu languages. In 1894, Uganda became a protectorate of the British Empire, and in 1962 Britain granted independence to Uganda. Idi Amin deposed Milton Obote in 1971 to become ruler of Uganda, a position he would occupy until he was ousted in 1979 as a result of the Uganda-Tanzania War. After a series of other leaders, Yoweri Museveni came to power in 1986 and has led Uganda since that time.