Second term 1998 1999 After the fall of the two United Front governments between 1996 and 1998, the Lok Sabha was dissolved and fresh elections were held. The 1998 general elections again put the BJP ahead of others. This time, a cohesive bloc of political parties joined the BJP to form the National Democratic Alliance (NDA), and Vajpayee was sworn in as the Prime Minister.The NDA proved its majority in the parliament. The government lasted 13 months until mid 1999 when the All India Anna Dravida Munnetra Kazhagam (AIADMK) under J. Jayalalitha withdrew its support to the government. The government lost the ensuing vote of confidence motion in the Lok Sabha by a single vote. As the Opposition was unable to come up with the numbers to form the new government, the Lok Sabha was again dissolved and fresh elections were held. Vajpayee remaining the Prime Minister until the elections were held.
Third term 1999 2004 In the 1999 general elections, the BJP led NDA won 303 seats out of the 543 seats in the Lok Sabha, in the aftermath of the Kargil operations, thereby securing a comfortable and stable majority. On 13 October 1999, Atal Bihari Vajpayee took oath as Prime Minister of India for the third time.