The Indian navy has rescued two Iranian fishing vessels that had been hijacked by Somali pirates in one day, India's defence ministry said.
The INS Sumitra patrol vessel freed 19 Pakistani nationals from one vessel on Monday, the ministry said in a statement on Tuesday.
Just hours earlier, it had rescued 17 Iranian crew members aboard another boat after responding to another distress call.
The rescues come amid a resurgence of Somali piracy in the Indian Ocean since last month, following years without a major attack.
The pirates appear to be taking advantage of instability around the Red Sea, where the Iranian-backed Houthi militia has targeted civilian ships in what they claim is a protest against Israel's military campaign in the Gaza Strip.
The Houthis' attacks have prompted retaliatory air strikes by the UK and the United States, and analysts say they have diverted attention from the Somali piracy threat.
Somali piracy peaked around 2011, costing the world economy some $7 billion a year, before international naval patrols and armed private guards managed to contain the threat.
Until December, when the Maltese-flagged MV Ruen was seized, there head been no successful hijacking of a merchant ship by Somali pirates since 2017.
India's navy has intervened in response to several recent hijackings.
On Monday, the INS Sumitra rescued the Iman fishing vessel by using "coercive posturing" before intercepting the Al Naeemi fishing vessel, which had been boarded by 11 pirates in the southern Arabian Sea, the defence ministry said.
Forces from the Indian Ocean archipelago nation of the Seychelles rescued the six crew members on a Sri Lankan fishing trawler from suspected Somali pirates on Monday, officials said.