Video released by the Hillsborough County Sheriff's Office shows crews rescuing a man who was stranded on a buoy without a flotation device— and he didn't know how to swim.

The rescue occurred Sunday night about 3½ miles north of Beer Can Island.

A friend called 911 around 7:50 p.m. to report the man had jumped out of his boat and climbed the buoy, according to the Hillsborough County Sheriff's Office.

But he couldn't approach the buoy because the boat's battery had died and he was anchored in place, he told deputies.

The Sheriff's Office responded to the call by dispatching dive and air crews. In choppy conditions, divers entered the water and were able to get the man off the buoy and back into the boat.

Both the stranded individual and the boat operator were taken to Williams Park boat ramp safely, deputies said.