Hegazy served as Minister of the Treasury 1968 to 1972, and Minister of Finance and Foreign Trade 1973 to 1974.[3] He was prime minister from 25 September 1974 to 16 April 1975.[4] He was the head of the General Federation of Civil Society Groups.[5]