Why did Anwar Saddat's time in office end?

A-He was not re-elected.
B-He was assassinated.
C-The Arab Spring occurred, kicking him out.
D-He was deposed by his vice president.