query: 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.