Indira Gandhi lost the 1977 parliamentary election while in office following the Emergency period (1975-1977). This was the first time an incumbent Prime Minister lost an election. Rajiv Gandhi lost in 1989, Charan Singh and Chandrashekhar never faced a general election while in office.