After three years as prime minister, Salem was dismissed on October 2, 1978 by President Anwar Sadat. Then Salem was appointed as an advisor to Anwar Sadat. Mustafa Khalil succeeded Salem as prime minister.
Salem died in London of an unknown illness in February 1988.[3]