A surfer in his 50s survived a shark attack at a central California beach on Sunday.

CBS News reported that the man suffered minor injuries from the shark around 11:30 a.m. and paddled himself to shore.

The attack happened at the Sand Spit beach in the Montana De Oro State Park, west of San Luis Obispo.

Supervising State Park Ranger Robert Colligan said the man was one of several surfers in the water.

Witnesses described the shark as a juvenile between 8 and 10 feet long, according to the Associated Press.

The unidentified man lives in the San Luis Obispo area. The shark bit him on his right hip and a medic visiting the beach treated the wound until more help arrived. The man was then flown to a local hospital.

The beach stayed open for the rest of the day, but Colligan said signs would be posted for the next three days warning beach-goers of the attack.

Furthermore, Colligan said if more shark sightings get reported the signs would remain posted for another three days.

ABC News said sharks are native to the area. Colligan said people spot them several times a year.

Colligan said shark attacks are rare, but a shark killed a woman swimming with seals in 2003 about 10 miles south of the most recent attack.