Former President, Julius Nyerere of Tanzania who was a teacher. [File, Courtesy]

Political leadership is often linked to lawyers, economists, military commanders and career politicians. Yet history shows another path to the highest offices: The classroom.

Across Africa and beyond, men and women who once stood before learners, prepared lessons and marked books rose to become presidents and prime ministers. Teaching develops communication, patience, organisation, critical thinking and the power to influence society.

Julius Nyerere of Tanzania trained as a teacher and taught mathematics and biology before politics. Education remained central to his nation-building vision after independence. John Pombe Magufuli also taught mathematics and chemistry before rising through Parliament to the presidency. Their stories show that classroom skills transfer directly to public administration.

Robert Mugabe taught English and history across parts of Africa before leading Zimbabwe. Kwame Nkrumah of Ghana and Kenneth Kaunda of Zambia both began as teachers and later guided their countries to independence. In Nigeria, Goodluck Jonathan taught biology before becoming vice-president and then president. Outside Africa, Manmohan Singh of India combined university teaching with economic expertise to reach the prime ministership. Kenya’s Mwai Kibaki moved from economics lecturing into national leadership.

Why do teachers often succeed in politics? Every school day demands clear communication to different minds, conflict resolution, motivation and constant small decisions. Teachers interact with parents, colleagues, and whole communities. In many places, they remain among the most educated and trusted figures. They also learn patience, explaining the same idea until it lands, and understand that real change takes time. Being a teacher does not guarantee good political leadership. Some former teachers left strong legacies; others faced sharp criticism.

The classroom supplies useful skills, yet those skills must be paired with integrity, humility, and respect for institutions. Still, the message for today’s educators is clear; teaching itself is leadership. Every time a teacher helps a learner think critically, solve problems or pursue excellence, that teacher is shaping the future of society.

The road from the classroom to State House is uncommon, but history proves it is real, and sometimes it begins with an ordinary mathematics lesson. For mathematics teachers especially, Nyerere’s journey shows that analytical discipline can sit comfortably beside a deep concern for human welfare, social justice and national unity.

Teachers shape generations long before those generations shape nations. The work done inside a classroom is never insignificant. Presidents may occupy State Houses, but many of their earliest lessons came from teachers who believed in them.