Vajpayee was thrice elected the prime minister between 1996 and 1999 and is the only non-Congress prime minister to complete the full term of five years, from 1999 to 2004. As his health deteriorated, he had slowly withdrawn himself from public life and was confined to his residence for years.