List of Prime Ministers of Tanzania
Prime Ministers of Tanzania

№
Prime Minister (Birth–Death)
Portrait
Tenure
Tenure
Political affiliation (at time of appointment)
Political affiliation (at time of appointment)
President(s)
№
Prime Minister (Birth–Death)
Portrait
Took office
Left office
Political affiliation (at time of appointment)
Political affiliation (at time of appointment)
President(s)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
Post abolished (1 November 1964 – 17 February 1972)
1
Rashidi Kawawa (1924–2009)
-
17 February 1972
13 February 1977
-
Tanganyika African National Union
Nyerere
1
Rashidi Kawawa (1924–2009)
-
17 February 1972
13 February 1977
-
Chama Cha Mapinduzi
Nyerere
2
Edward Sokoine (1938–1984)
-
13 February 1977
7 November 1980
-
Chama Cha Mapinduzi
Nyerere
3
Cleopa Msuya (1931–)
-
7 November 1980
24 February 1983
-
Chama Cha Mapinduzi
Nyerere
(2)
Edward Sokoine (1938–1984)
-
24 February 1983
12 April 1984 (died in office.)
-
Chama Cha Mapinduzi
Nyerere
4
Salim Ahmed Salim (1942–)
Salim.JPG
24 April 1984
5 November 1985
-
Chama Cha Mapinduzi
Nyerere
5
Joseph Warioba (1940–)
-
5 November 1985
9 November 1990
-
Chama Cha Mapinduzi
Mwinyi
6
John Malecela (1934–)
-
9 November 1990
7 December 1994
-
Chama Cha Mapinduzi
Mwinyi
(3)
Cleopa Msuya (1931–)
-
7 December 1994
28 November 1995
-
Chama Cha Mapinduzi
Mwinyi Mkapa
7
Frederick Sumaye (1950–)
-
28 November 1995
30 December 2005
-
Chama Cha Mapinduzi
Mkapa Kikwete
8
Edward Lowassa (1953–)
-
30 December 2005
7 February 2008
-
Chama Cha Mapinduzi
Kikwete
9
Mizengo Pinda (1948–)
-
9 February 2008
5 November 2015
-
Chama Cha Mapinduzi
Kikwete
10
Kassim Majaliwa (1961–)
-
20 November 2015
Incumbent
-
Chama Cha Mapinduzi
Magufuli

Question: When was Edward Sokoine serve as the prime minister of Tanzania?
Answer: Edward Sokoine (1938 – 1984) was a two-term prime minister of Tanzania, serving from 13 February 1977 to 7 November 1980 and again from 24 February 1983 to 12 April 1984.