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. A number of political parties joined the BJP to form the National Democratic Alliance (NDA), and Vajpayee was sworn in as the Prime Minister. The coalition was an uneasy one, as apart from the Shiv Sena, none of the other parties espoused the BJP's Hindu-nationalist ideology. Vajpayee has been credited for managing this coalition successfully, while facing ideological pressure from the hardline wing of the party and from the RSS. Vajpayee's government lasted 13 months until mid-1999 when the All India Anna Dravida Munnetra Kazhagam (AIADMK) under J. Jayalalithaa withdrew its support. The government lost the ensuing vote of confidence motion in the Lok Sabha by a single vote on 17 April 1999. 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.