<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) </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> Appointed by </Th> <Th> Lok Sabha </Th> </Tr> <Tr> <Th> </Th> <Td> Jawaharlal Nehru (1889--1964) </Td> <Td> </Td> <Td> Vice President of Executive Council </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Phulpur, Uttar Pradesh </Td> <Td> 15 August 1947 </Td> <Td> 15 April <P> 1952 </P> </Td> <Td> 16 years, 286 days </Td> <Td> Lord Mountbatten </Td> <Td> Constituent Assembly </Td> </Tr> <Tr> <Td> 15 April 1952 </Td> <Td> 17 April 1957 </Td> <Td> Rajendra Prasad </Td> <Td> 1st </Td> </Tr> <Tr> <Td> 17 April 1957 </Td> <Td> 2 April 1957 </Td> <Td> 2nd </Td> </Tr> <Tr> <Td> 2 April 1957 </Td> <Td> 27 May 1964 </Td> <Td> 3rd </Td> </Tr> <Tr> <Th>--</Th> <Td> Gulzarilal Nanda (acting) (1898--1998) </Td> <Td> </Td> <Td> 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> 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> 1 year, 216 days </Td> <Td> Sarvepalli Radhakrishnan </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> Sarvepalli Radhakrishnan </Td> </Tr> <Tr> <Th> </Th> <Td> Indira Gandhi (1917--1984) </Td> <Td> </Td> <Td> Minister of Information and Broadcasting <P> Prime Minister (Re-elected) </P> </Td> <Td> </Td> <Td> Indian National Congress </Td> <Td> Rajya Sabha MP for Uttar Pradesh </Td> <Td> 24 January 1966 </Td> <Td> 4 March 1967 </Td> <Td> 11 years, 59 days </Td> <Td> Sarvepalli Radhakrishnan </Td> </Tr> <Tr> <Td> 4 March 1967 </Td> <Td> 15 March 1971 </Td> <Td> V.V. Giri </Td> <Td> 4th </Td> </Tr> <Tr> <Td> 15 March 1971 </Td> <Td> 24 March 1977 </Td> <Td> 5th </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> 2 years, 126 days </Td> <Td> B.D. Jatti <P> (acting President) </P> </Td> <Td> 6th </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> 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> 4 years, 291 days </Td> <Td> Neelam Sanjiva Reddy </Td> <Td> 7th </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> 31 December 1984 </Td> <Td> 5 years, 32 days </Td> <Td> Zail Singh </Td> </Tr> <Tr> <Td> 31 December 1984 </Td> <Td> 2 December 1989 </Td> <Td> 8th </Td> </Tr> <Tr> <Th> 7 </Th> <Td> Vishwanath Pratap 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> R. Venkataraman </Td> <Td> 9th </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> R. Venkataraman </Td> </Tr> <Tr> <Th> 9 </Th> <Td> Pamulaparti Venkata 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> 4 years, 330 days </Td> <Td> R. Venkataraman </Td> <Td> 10th </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> Shankar Dayal Sharma </Td> <Td> 11th </Td> </Tr> <Tr> <Th> 11 </Th> <Td> Haradanahalli Doddegowda 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> Shankar Dayal Sharma </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> Shankar Dayal Sharma </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> 10 October 1999 </Td> <Td> 6 years, 64 days </Td> <Td> K.R. Narayanan </Td> <Td> 12th </Td> </Tr> <Tr> <Td> 10 October 1999 </Td> <Td> 22 May </Td> <Td> 13th </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> 22 May 2009 </Td> <Td> 10 years, 4 days </Td> <Td> A.P.J. Abdul Kalam </Td> <Td> 14th </Td> </Tr> <Tr> <Td> 22 May 2009 </Td> <Td> 26 May 2014 </Td> <Td> Pratibha Patil </Td> <Td> 15th </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> 4 years, 50 days </Td> <Td> Pranab Mukherjee </Td> <Td> 16th </Td> </Tr> </Table> <Tr> <Th> No </Th> <Th> Name (birth--death) </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> Appointed by </Th> <Th> Lok Sabha </Th> </Tr>

Name of the prime minister of india from 1947 to 2015
find me the text answering this question