LOS ANGELES (AP) — A 13-year-old boy skin diving for lobsters was attacked by a shark Saturday along the Southern California coast but was quickly pulled from the water by other divers and flown to a trauma center, authorities said.

The boy was in critical but stable condition more than nine hours later at Rady Children's Hospital-San Diego, spokesman Carlos Delgado said.

The boy underwent surgery but no other information about him, including his name, was released.

The boy suffered traumatic upper torso injuries, city Lifeguard Capt. Larry Giles told reporters earlier at Beacon's Beach in Encinitas, about 27 miles (43 kilometers) north of downtown San Diego.

The attack occurred just before 7 a.m., during the opening hour of California's popular spiny lobster season.

The boy was attacked in about 9 feet (2.7 meters) of water approximately 150 yards (137 meters) offshore. He was brought to shore by three bystanders, Giles said.

Emergency responders arrived, and the boy was flown by helicopter to the trauma center.

"He was conscious, he was above water, and the bystanders were able to get him up on the beach ... and he was talking all the way to when he was being transported," the captain said.

The three rescuers were identified only as an off-duty police officer from nearby Oceanside, an off-duty state lifeguard and a friend who were also diving for lobsters. Giles said the trio provided a "tremendous amount of aid to that young man."

Witnesses estimated the shark was about 11 feet (3.3 meters) long, but the type was not known, he said.

Lifeguards immediately turned to clearing people out of the water. Giles noted there were multiple other divers in the area.

The waters off about 4 miles (6.4 kilometers) of beach were ordered closed for 48 hours, and a nearby surfing competition was canceled before it got underway.

Lifeguards were being brought in from various agencies while a San Diego County sheriff's helicopter scouted from the air. In the immediate hours after the attack, there was no sign of shark activity or signs of typical prey such as seals, dolphins and porpoises, although a seal was reported in the area earlier, Giles said.

Story continues

"This is a nonfatal incident; we don't want anybody else getting injured," he said.

The most recent fatal shark attack in the area was in 2008 when a swimmer was killed at Solana Beach. A more recent attack along the Camp Pendleton coast of north San Diego County was not fatal.

Earlier this month, a man died after being bitten by a shark off Cape Cod, Massachusetts.