NAIROBI, Kenya — Somali pirates freed a Thai fishing vessel they held for more than four months after receiving a ransom, the European Union Naval Force said, and French officials said their navy seized 11 suspected pirates elsewhere along Somalia’s coast.

The announcement from the French Defense Ministry on Sunday brought the three-day take to a record 35 for the EU’s piracy-fighting operation in the region.

The ministry said the frigate Nivose — backed by the Italian logistics support ship Etna and a Spanish maritime patrol aircraft — took part in the capture in an unspecified part of the Indian Ocean off Somalia’s coast.

The ministry said in a statement the EU forces used helicopters and fired warning shots to stop and capture the “mother ship” and two accompanying skiffs of the suspected pirates on Sunday.

The Nivose was also involved in the capture of 22 pirates on Friday, and two on Saturday.

Also on Sunday, EU Naval Force spokesman Cmdr. John Harbour said pirates freed the Thai Union 3 for a ransom. He did not say how much pirates were paid to free the boat early Sunday, or where the freed ship may have been headed after its release.

The fishing boat was hijacked on October 29 in the Indian Ocean about 200 miles (320 kilometers) north of the Seychelles and 650 miles (1,050 kilometers) from the Somali coast.

Lawlesness in Somalia has allowed piracy to flourish off Somalia’s 1,900-mile (3,100-kilometer) coastline. Somalia has not had a stable government since warlords overthrew longtime dictator Mohamed Siad Barre in 1991.

The EU naval force works to deter piracy in the Gulf of Aden and off Somalia’s coast and escorts ships carrying humanitarian aid. But the area is large and pirates have established many safe havens along the coast where they can hold ships for long periods of time.