After Indira Gandhi revoked the Emergency on 21 March 1977 and announced elections, it was under JP's guidance that the Janata Party (a vehicle for the broad spectrum of the anti-Indira Gandhi opposition) was formed. Considered to be an election of newcomers, a huge crowd of youth activists and leaders used to gather before the residence of the Bihar Janta party president Satyendra Narayan Sinha. The Janata Party was voted into power, and became the first non-Congress party to form a government at the Centre in India. In Bihar, after the Janata Party came to power, Karpuri Thakur won the chief ministership battle from the then Bihar Janata Party President Satyendra Narayan Sinha to become the Bihar Chief Minister in 1977.