Why did the Egyptian President make peace with Israel in 1979?

Israel started the P.L.O.

Israel joined the British Mandate

Israel returned the Sinai peninsula to Egypt

Israel occupied the West Bank