The first was Jawaharlal Nehru of the Indian National Congress party, who was sworn in on 15 August 1947, when India gained independence from the British Raj. Serving until his death in May 1964, Nehru remains India's longest-serving prime minister.