ST. PETERSBURG, Fla. (WFLA) — A 22-year-old man was rescued Saturday after he spent nearly eight hours in the Gulf of Mexico, according to the U.S. Coast Guard Station in St. Petersburg.

Crews were dispatched at about midnight to an area near the Sunshine Skyway Bridge after getting calls about a person in the water near the bridge.

According to officials, the Coast Guard along with the St. Petersburg Fire Rescue continued searching for the 22-year-old until about 4:30 a.m., when crews spotted him in the water near Egmont Key.

The Coast Guard said the man had been dragged into the Gulf by a barge and spent nearly eight hours there.

Authorities said he was “alert and conscious” after he was rescued and was taken to the Coast Guard station to meet with EMS before being taken to a nearby hospital.

According to the U.S. Coast Guard Southeast Facebook page, the 22-year-old is reportedly in stable condition.

“Our crew was able to rescue this person from the water thanks to our quick response and joint agency efforts,” Petty Officer Third Class Justin Swaim said in a statement. “All of the assets on scene responded with extreme professionalism during the rescue efforts and ultimately resulting in a life being saved.”