The U.S. Coast Guard says it has repatriated 311 Haitians attempting to illegally enter the United States.

In a statement released Wednesday, officials said the Haitians were spotted on a freighter beached on Anguilla Cay in the Bahamas Monday. They said the Haitians were transferred to the Coast Guard cutter Valiant, where they all received food, water and any necessary medical care.

A Coast Guard official said they were sent back to Port-au-Prince Wednesday, adding that several knew they had been headed to the United States but did not know their destination.

So far this year, the Coast Guard has intercepted more than 1,700 Haitians at sea.