Task: Text Categorization
Input (English): He stepped down as president of his country in 1985, but continued as head of the ruling party until 1990. His government emphasized a form of rural socialism known as ujamaa, and, in 1978, troops under his leadership entered Uganda, deposing Idi Amin. After his retirement he remained active in African politics, and was known throughout the continent as Mwalimu, Swahili for teacher. FTP, identify this first president of Tanzania, who died in October, 1999.
Output (English): History