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: Miami-Dade Police Marine Units To Conduct Boating Under The Influence Checks This Weekend

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, 1 Hospitalized As Van Ends Up In Pond In SW Miami-Dade

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: Going To The Miami Beach Air And Sea Show This Memorial Day Weekend? Here's What You Can Expect

All three men were wearing life jackets.