The earliest known inhabitants of Tanzania were the Khoisan people, who lived in the southern part of the country. Around 1000 BC, Bantu-speaking people migrated to Tanzania from West Africa, bringing with them new agricultural techniques and social structures. The Bantu people established various tribes, including the Nyamwezi, who became a dominant force in the region.
Tanzania gained independence on December 9, 1964, with Julius Nyerere as its first president. Nyerere introduced the concept of Ujamaa, a Swahili term for "brotherhood," which aimed to create a socialist and self-reliant society. During this period, Tanzania implemented various development projects, including the construction of schools, hospitals, and agricultural cooperatives.
In the 10th century, the Kilwa Sultanate was established, becoming one of the most powerful and influential empires in East Africa. The sultanate was an important center of trade, with merchants from Asia, Europe, and Africa exchanging goods such as gold, ivory, and spices. The Kilwa Sultanate reached its peak in the 14th century, under the rule of Sultan al-Malik ibn Dawud.