Julius Nyerere was the first president of Tanzania. He first served as Prime Minister of Tanganyika when it gained independence from Britain in 1961, and then became its president in 1962 when Tanganyika became a republic. In 1964, Tanganyika merged with Zanzibar to form the United Republic of Tanzania, and Nyerere became the first president of the new nation, a position he held until his retirement in 1985.
Nyerere, often referred to by the honorific Mwalimu (Swahili for "teacher"), was a central figure in African independence movements. He championed the philosophy of Ujamaa (African socialism) and played a significant role in Pan-African politics.
The other leaders listed were presidents of different African nations. Kenneth Kaunda was the first president of Zambia (1964-1991). Jomo Kenyatta was the first president of Kenya (1964-1978). Kwame Nkrumah was the first president of Ghana (1960-1966), having previously served as its first prime minister from independence in 1957.