SAN FRANCISCO (CBS SF) — A 24-year-old man was rescued from Seal Rocks off of San Francisco’s Ocean Beach tonight after he became stuck while surfing in the water, a U.S. Coast Guard official said.

The Coast Guard responded to a report of a surfer in distress around 7:45 p.m., Coast Guard Lt. Cmdr. Shawn Lansing said.

READ MORE: Golden Gate Transit Bus Drivers Vote to Authorize Strike

The man’s friends reported he was missing after last seeing him shortly after 7 p.m. when they were surfing, Lansing said.

The Coast Guard sent an aircraft and two boats to search for the surfer, according to Lansing.

READ MORE: UPDATE: Santa Clara County Offers Additional Free At-Home COVID-19 Tests

One of the boats saw the man standing on Seal Rocks with his surfboard. He was able to paddle to the boat crew and was transported to the Coast Guard Station Golden Gate at Fort Baker in Sausalito where emergency crews evaluated him, Lansing said.

Lansing did know if the man was injured.

Coast Guard officials are warning the public to exercise caution in the water or when approaching the beach due to high surf conditions making the water “very dynamic,” Lansing said.

MORE NEWS: 2-Alarm San Jose Townhouse Fire Extinguished; Firefighter Hospitalized After Fall from Roof

Earlier in the day, two men were rescued from the water at Ocean Beach and hospitalized in critical condition.