Qatar has released eight Indian ex-naval officers after dropping their death sentences, India's foreign ministry said on Monday, crediting the Qatari Emir for the decision more than 18 months after their arrest.
Their death sentence, handed down in October, was dropped in December.
India said seven of these officers have returned to the country.
New Delhi engaged in talks for months with Qatar after the men were arrested in August 2022 and the case challenged ties with Doha.
"We appreciate the decision by the Emir of the State of Qatar to enable the release and home-coming of these nationals," the ministry said. The men were working on a submarine project with a private company for the Qatari authorities at the time of their arrest.
The announcement came days after Qatari and Indian firms signed their biggest single deal for supplies of liquefied natural gas.
It was last December that Modi met Qatar's Emir Sheikh Tamim bin Hamad Al Thani on the sidelines of the COP28 climate summit in Dubai.
More than 800,000 Indian citizens live and work in Qatar.

US targets three Iranian oil vessels after attack on Navy ships
Four killed in Israeli strikes on southern Lebanon
Indonesia's Anak Krakatau eruption halts flights, schools, fishing
Putin says US-Russia contacts beneficial as talks begin with Witkoff and Kushner
Chinese national rescued from Nepal tunnel 10 days after flash flood
US envoys Witkoff, Kushner arrive in Moscow for talks on peace in Ukraine
One dead, 11 people missing after mudslide in China's Jiangxi province
Philippine VP Duterte posts bail after arrest order for alleged grave threats
