<Li> Returned to office after a previous term </Li> <Li> Resigned following a no - confidence motion </Li> <Table> <Tr> <Th> No </Th> <Th> Name (birth--death); constituency </Th> <Th> Portrait </Th> <Th> Prior Office </Th> <Th_colspan="2"> Party (Alliance) </Th> <Th> Elected constituency </Th> <Th_colspan="3"> Term of office </Th> <Th> Elections (Lok Sabha) </Th> <Th> Ministry </Th> <Th> Appointed by </Th> </Tr> <Tr> <Th> </Th> <Td> Jawaharlal Nehru (1889--1964) </Td> <Td> </Td> <Td> Indian freedom fighter </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Phulpur, Uttar Pradesh </Td> <Td> 15 August 1947 </Td> <Td> 27 May 1964 </Td> <Td> 7003613000000000000 ♠ 16 years, 286 days </Td> <Td>--</Td> <Td> Nehru I </Td> <Td> Lord Mountbatten </Td> </Tr> <Tr> <Td> 1952 (1st) </Td> <Td> Nehru II </Td> <Td> Rajendra Prasad </Td> </Tr> <Tr> <Td> 1957 (2nd) </Td> <Td> Nehru III </Td> </Tr> <Tr> <Td> 1962 (3rd) </Td> <Td> Nehru IV </Td> </Tr> <Tr> <Th>--</Th> <Td> Gulzarilal Nanda (acting) (1898--1998) </Td> <Td> </Td> <Td> Union Minister of Labour and Employment </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Sabarkantha, Gujarat </Td> <Td> 27 May 1964 </Td> <Td> 9 June 1964 </Td> <Td> 13 days </Td> <Td> (3rd) </Td> <Td> (acting) </Td> <Td> Sarvepalli Radhakrishnan </Td> </Tr> <Tr> <Th> </Th> <Td> Lal Bahadur Shastri (1904--1966) </Td> <Td> </Td> <Td> Minister of Home Affairs </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Allahabad, Uttar Pradesh </Td> <Td> 9 June 1964 </Td> <Td> 11 January 1966 </Td> <Td> 7002581000000000000 ♠ 1 year, 216 days </Td> <Td> (3rd) </Td> <Td> Shastri </Td> </Tr> <Tr> <Th>--</Th> <Td> Gulzarilal Nanda (acting) (1898--1998) </Td> <Td> </Td> <Td> Minister of Home Affairs </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Sabarkantha, Gujarat </Td> <Td> 11 January 1966 </Td> <Td> 24 January 1966 </Td> <Td> 13 days </Td> <Td> (3rd) </Td> <Td> (acting) </Td> </Tr> <Tr> <Th> </Th> <Td> Indira Gandhi (1917--1984) </Td> <Td> </Td> <Td> Minister of Information and Broadcasting </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Rajya Sabha MP for Uttar Pradesh </Td> <Td> 24 January 1966 </Td> <Td> 24 March 1977 </Td> <Td> 7003407700000000000 ♠ 11 years, 59 days </Td> <Td> (3rd) </Td> <Td> I. Gandhi I </Td> </Tr> <Tr> <Td> Prime Minister <P> (Re-elected) </P> </Td> <Td> Rae Bareli, Uttar Pradesh </Td> <Td> 1967 (4th) </Td> </Tr> <Tr> <Td> Prime Minister <P> (Re-elected) </P> </Td> <Td> 1971 (5th) </Td> <Td> I. Gandhi II </Td> <Td> V.V. Giri </Td> </Tr> <Tr> <Th> </Th> <Td> Morarji Desai (1896--1995) </Td> <Td> </Td> <Td> Minister of Finance and Deputy Prime Minister of India before he resigned in 1969 </Td> <Td> </Td> <Td> Janata Party </Td> <Td> Surat, Gujarat </Td> <Td> 24 March 1977 </Td> <Td> 28 July 1979 </Td> <Td> 7002856000000000000 ♠ 2 years, 126 days </Td> <Td> 1977 (6th) </Td> <Td> Desai </Td> <Td> B.D. Jatti <P> (acting President) </P> </Td> </Tr> <Tr> <Th> </Th> <Td> Charan Singh (1902--1987) </Td> <Td> </Td> <Td> Minister of Finance </Td> <Td> </Td> <Td> Janata Party (Secular) with INC </Td> <Td> Baghpat, Uttar Pradesh </Td> <Td> 28 July 1979 </Td> <Td> 14 January 1980 </Td> <Td> 170 days </Td> <Td>--(6th) </Td> <Td> C. Singh </Td> <Td> Neelam Sanjiva Reddy </Td> </Tr> <Tr> <Th> (3) </Th> <Td> Indira Gandhi (1917--1984) </Td> <Td> </Td> <Td> Former Prime Minister </Td> <Td> </Td> <Td> Indian National Congress (I) </Td> <Td> Medak, Andhra Pradesh </Td> <Td> 14 January 1980 </Td> <Td> 31 October 1984 </Td> <Td> 7003175200000000000 ♠ 4 years, 291 days </Td> <Td> 1980 (7th) </Td> <Td> I. Gandhi III </Td> </Tr> <Tr> <Th> 6 </Th> <Td> Rajiv Gandhi (1944--1991) </Td> <Td> </Td> <Td> MP for Amethi </Td> <Td> </Td> <Td> Indian National Congress (I) </Td> <Td> Amethi, Uttar Pradesh </Td> <Td> 31 October 1984 </Td> <Td> 2 December 1989 </Td> <Td> 7003185800000000000 ♠ 5 years, 32 days </Td> <Td> (7th) </Td> <Td> R. Gandhi </Td> <Td> Zail Singh </Td> </Tr> <Tr> <Td> Former Prime Minister <P> (Re-elected) </P> </Td> <Td> 1984 (8th) </Td> </Tr> <Tr> <Th> 7 </Th> <Td> V.P. Singh (1931--2008) </Td> <Td> </Td> <Td> Minister of Defence </Td> <Td> </Td> <Td> Janata Dal (National Front) </Td> <Td> Fatehpur, Uttar Pradesh </Td> <Td> 2 December 1989 </Td> <Td> 10 November 1990 </Td> <Td> 343 days </Td> <Td> 1989 (9th) </Td> <Td> V.P. Singh </Td> <Td> R. Venkataraman </Td> </Tr> <Tr> <Th> 8 </Th> <Td> Chandra Shekhar (1927--2007) </Td> <Td> </Td> <Td> MP for Ballia </Td> <Td> </Td> <Td> Samajwadi Janata Party with INC </Td> <Td> Ballia, Uttar Pradesh </Td> <Td> 10 November 1990 </Td> <Td> 21 June 1991 </Td> <Td> 223 days </Td> <Td> (9th) </Td> <Td> Chandra Shekhar </Td> </Tr> <Tr> <Th> 9 </Th> <Td> P.V. Narasimha Rao (1921--2004) </Td> <Td> </Td> <Td> Minister of External Affairs </Td> <Td> </Td> <Td> Indian National Congress (I) </Td> <Td> Nandyal, Andhra Pradesh </Td> <Td> 21 June 1991 </Td> <Td> 16 May </Td> <Td> 7003179100000000000 ♠ 4 years, 330 days </Td> <Td> 1991 (10th) </Td> <Td> Rao </Td> </Tr> <Tr> <Th> 10 </Th> <Td> Atal Bihari Vajpayee (born 1924) </Td> <Td> </Td> <Td> Minister of External Affairs </Td> <Td> </Td> <Td> Bharatiya Janata Party </Td> <Td> Lucknow, Uttar Pradesh </Td> <Td> 16 May </Td> <Td> 1 June </Td> <Td> 16 days </Td> <Td> 1996 (11th) </Td> <Td> Vajpayee I </Td> <Td> Shankar Dayal Sharma </Td> </Tr> <Tr> <Th> 11 </Th> <Td> H.D. Deve Gowda (born 1933) </Td> <Td> </Td> <Td> Chief Minister of Karnataka </Td> <Td> </Td> <Td> Janata Dal (United Front) </Td> <Td> Rajya Sabha MP for Karnataka </Td> <Td> 1 June </Td> <Td> 21 April 1997 </Td> <Td> 324 days </Td> <Td> (11th) </Td> <Td> Deve Gowda </Td> </Tr> <Tr> <Th> 12 </Th> <Td> Inder Kumar Gujral (1919--2012) </Td> <Td> </Td> <Td> Minister of External Affairs </Td> <Td> </Td> <Td> Janata Dal (United Front) </Td> <Td> Rajya Sabha MP for Bihar </Td> <Td> 21 April 1997 </Td> <Td> 19 March 1998 </Td> <Td> 332 days </Td> <Td> (11th) </Td> <Td> Gujral </Td> </Tr> <Tr> <Th> (10) </Th> <Td> Atal Bihari Vajpayee (born 1924) </Td> <Td> </Td> <Td> Former Prime Minister </Td> <Td> </Td> <Td> Bharatiya Janata Party (NDA) </Td> <Td> Lucknow, Uttar Pradesh </Td> <Td> 19 March 1998 </Td> <Td> 22 May </Td> <Td> 7003225600000000000 ♠ 6 years, 64 days </Td> <Td> 1998 (12th) </Td> <Td> Vajpayee II </Td> <Td> K.R. Narayanan </Td> </Tr> <Tr> <Td> Former Prime Minister <P> (Re-elected) </P> </Td> <Td> 1999 (13th) </Td> <Td> Vajpayee III </Td> </Tr> <Tr> <Th> 13 </Th> <Td> Manmohan Singh (born 1932) </Td> <Td> </Td> <Td> Minister of Finance </Td> <Td> </Td> <Td> Indian National Congress (UPA) </Td> <Td> Rajya Sabha MP for Assam </Td> <Td> 22 May </Td> <Td> 26 May 2014 </Td> <Td> 7003365600000000000 ♠ 10 years, 4 days </Td> <Td> 2004 (14th) </Td> <Td> M. Singh I </Td> <Td> A.P.J. Abdul Kalam </Td> </Tr> <Tr> <Td> Former Prime Minister <P> (Re-elected) </P> </Td> <Td> 2009 (15th) </Td> <Td> M. Singh II </Td> <Td> Pratibha Patil </Td> </Tr> <Tr> <Th> 14 </Th> <Td> Narendra Modi (born 1950) </Td> <Td> </Td> <Td> Chief Minister of Gujarat </Td> <Td> </Td> <Td> Bharatiya Janata Party (NDA) </Td> <Td> Varanasi, Uttar Pradesh </Td> <Td> 26 May 2014 </Td> <Td> Incumbent </Td> <Td> 7003124900000000000 ♠ 3 years, 153 days </Td> <Td> 2014 (16th) </Td> <Td> Modi </Td> <Td> Pranab Mukherjee </Td> </Tr> </Table> <Tr> <Th> No </Th> <Th> Name (birth--death); constituency </Th> <Th> Portrait </Th> <Th> Prior Office </Th> <Th_colspan="2"> Party (Alliance) </Th> <Th> Elected constituency </Th> <Th_colspan="3"> Term of office </Th> <Th> Elections (Lok Sabha) </Th> <Th> Ministry </Th> <Th> Appointed by </Th> </Tr>

Who has longest time chief minister in india