 He was among the founding members of the Bharatiya Jana Sangh (BJS), of which he was president from 1968 to 1972.The BJS merged with several other parties to form the Janata Party, which won the 1977 general election.In March 1977, Vajpayee became the Minister of External Affairs in the cabinet of Prime Minister Morarji Desai.