Julius Nyerere and Benjamin Mkapa died long after they had completed their terms of serving as head of state. The move forced a change of leadership in line with the country’s constitution in which Ms Hassan became the first female president to govern until 2025.