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".
PM's De-Escalation Message In Call With Netanyahu Amid West Asia Tension PM Shri Schools Have Become Inspiration For Rural Children: Dharmendra Pradhan Opinion: Opinion | UCC To Corruption, 4 Messages From Modi's Independence Day Speech Parents Gave Names Of Interns, Doctors To CBI In Kolkata Horror: Sources Who Is Jasveen Sangha, "Ketamine Queen" Charged With Matthew Perry's Death How Extreme Weather Is Leading To Rise In Child Marriages In Pakistan Police Arrest Suspect In Bihar Dalit Girl Kidnapping, Murder Case 80 Killed In Paramilitary Attack In Sudan OpenAI Blocks Iranian Group's ChatGPT Accounts For Targeting US Election Track Latest News Live on NDTV.com and get news updates from India and around the world.