Morarji Desai was the first Prime Minister to resign from office in 1979, leading the first non-Congress government after the Emergency. He resigned due to internal party conflicts in the Janata Party coalition. Zakir Hussain was President (died in office), and the others were not Prime Ministers.