Under Vajpayee, the BJP moderated the Hindu-nationalist position of the Jana Sangh, emphasising its connection to the Janata Party and expressing support for Gandhian Socialism. The ideological shift did not bring it success: Indira Gandhi's assassination generated sympathy for the Congress, leading to a massive victory at the polls. The BJP won only two seats in parliament. Vajpayee offered to quit as party president following BJP's dismal performance in the election, but stayed in the post until 1986. He was elected to the Rajya Sabha in 1986 from Madhya Pradesh, and was briefly the leader of the BJP in Parliament.