Updated

People are being warned not to go in the water in parts of Monterey County after a shark attack on a surfer.

State officials closed Marina State Beach after 24-year-old Todd Endris was attacked while surfing at the beach yesterday morning.

Beachgoers at other beaches on the southern side of Monterey Bay are being told to stay out of the water.

Officials say Endris suffered gashes on his back and right leg in the attack.

He's being cared for at Santa Clara Valley Medical Center, where he was listed in fair condition.

A California State Parks spokesman says its the first known shark attack at Marina State Beach, though some divers have been attacked in Monterey Bay.

The beach is located about 35 miles south of Santa Cruz. It's well known for its sand dunes, hang gliding and rugged surf with very strong rip currents.