Iran’s government on Saturday welcomed the U.S. Navy’s rescue of 13 Iranian fishermen held by pirates, calling it a positive humanitarian gesture.

U.S. officials announced Friday that the fishermen had been rescued by a U.S. Navy destroyer on Thursday, more than 40 days after their boat was commandeered by suspected Somali pirates in the northern Arabian Sea. The rescue came just days after Tehran warned the U.S. to keep the same group of warships out of the Persian Gulf in a reflection of Iran’s fear that American warships could try to enforce an embargo against Iranian oil exports.