Answer
Morarji Desai was the Prime Minister of India when Neelam Sanjiva Reddy was elected as the President of India in 1977. Desai's tenure as Prime Minister marked a significant period in Indian politics, as he led the Janata Party to victory in the 1977 general elections, ending the dominance of the Indian National Congress.