All of the political parties of the opposition—after the conclusion of the emergency—fought together against the Congress, under the umbrella of the Janata Party, in the general election of 1977, and were successful in defeating the Congress. Subsequently, Morarji Desai—a former deputy prime minister—became the first non-Congress prime minister of India. The government of prime minister Desai was composed of groups with opposite ideologies, in which unity and co-ordination were difficult to maintain. Ultimately, after two and a half years as PM; on 28 July 1979, Morarji tendered his resignation to the president; and his government fell. Thereafter, Charan Singh—a deputy prime minister in Desai's cabinet—with outside, conditional support from Congress, proved a majority in Lok Sabha and took oath as prime minister. However, Congress pulled its support shortly after, and Singh had to resign; he had a tenure of 5 months, the shortest in the history of the office. In 1980 Indian general election, after a three-year absence, the Congress returned to power with an absolute majority. Indira Gandhi was elected prime minister a second time. During her second tenure, Operation Blue Star—an Indian Army operation inside the Golden Temple, the most sacred site in Sikhism—was conducted, resulting in reportedly thousands of deaths. Subsequently, on 31 October 1984, Gandhi was shot dead by Satwant Singh and Beant Singh—two of her bodyguards—in the garden of her residence at 1, Safdarjung Road, New Delhi.