Why was Egyptian president Anwar Sadat assassinated?

He favored a two-state solution in Palestine.

He signed a peace treaty with Israel in 1980.

He seized the Suez Canal from the British.

He increased attacks on other Arab nations, such as Libya.