JP refers to the Janata Party, formed in 1977 by merging several opposition parties against Congress. It won the 1977 general elections after the Emergency, with Morarji Desai becoming India's first non-Congress Prime Minister. The party played a crucial role in Indian politics during the late 1970s.