Prime Minister Narendra Modi paid tribute on Friday to Prince Philip who visited the former British colony four times, not always helping to mend ties.
PM Modi praised the "distinguished" military career of Queen Elizabeth II's husband, who has died at the age of 99.
"My thoughts are with the British people and the Royal Family on the passing away of HRH The Prince Philip, Duke of Edinburgh," said the prime minister of the Commonwealth's biggest nation on Twitter.
"He had a distinguished career in the military and was at the forefront of many community service initiatives. May his soul rest in peace."
Prince Philip was a nephew of Louis Mountbatten, the last British viceroy of India.
He accompanied the queen on visits to the country in 1959, 1961, 1983 and 1997, when a tour on the 50th anniversary of India's independence was marred by comments made at a memorial for a 1919 massacre in Amritsar.
The prince sparked controversy by questioning the number of deaths in the Jallianwala Bagh walled gardens where civilians were trapped by British-led forces on April 13, 1919.
An official British toll said 379 were mowed down. Indian estimates were over 1,000 dead.
After the queen said at the site that the killings were a "distressing" episode, Prince Philip made headlines by telling Indian officials that the toll recorded there was "vastly exaggerated".
Video: Nitish Kumar Bends To Touch PM's Feet At Event, He Does This Congress' 'Shahi Parivar' Believes It Was Born To Rule India: PM Modi "Saints, Sages Have Helped Humanity Realize Its Purpose": PM Modi "Batenge Toh Katenge" Slogan Divides Not Just Allies, But Some In BJP Too Wary Of NASA Satellites, How Farmers Time Crop-Burning, Scientist Explains "No Promoting Drugs": Diljit Dosanjh Gets Notice Ahead Of Hyderabad Concert CLAT 2025 Admit Cards Expected To Be Out Today The Rock Called 'Delusional' For Comparing His Movie To Oppenheimer Why Was Batman Missing In 'The Penguin'? Collin Farrell Reveals Track Latest News Live on NDTV.com and get news updates from India and around the world.