Original: He served as Egypt's Minister of State for Foreign Affairs from 1977 until early 1991.
Simplified: He had served as Egypt's Minister of State for Foreign Affairs from 1977 until early 1991.