Simplify the following text for a Grade 5 native English-speaking person.
Original: He served as the prime minister of Egypt between 1945 and 1946 and again from 1946 and 1948 .
Simplified: He was the Prime Minister of Egypt from 1945 to 1946 and again from 1946 to 1948 .