FORT LAUDERDALE (CBSMiami) – Broward sheriff’s deputies came to the rescue of three men who were in a boat the capsized.

It happened about a mile off Pompano Beach on Tuesday night.

READ MORE: Street Flooding, Power Outages Reported Following Heavy Rain Moving Through South Florida

According to the sheriff’s office, deputies in a helicopter helped a marine patrol unit find the men who were sitting on top of the overturned boat frantically waving a light toward shore.

READ MORE: 1 Dead, 2 Wounded In SW Miami-Dade Shooting

The men were rescued and brought back to dry land.

Deputies believe the fishing boat capsized due to the high winds and rough conditions.

MORE NEWS: Miami-Dade Schools To Allow Fans At Outdoor Spring Sports Events With Limited Capacity

All three men were wearing life jackets.