ENCINITAS, Calif. (AP) - Authorities say the man suspected of shooting and injuring two San Diego County sheriff's deputies in a standoff has killed himself.
A sheriff's department spokeswoman says residents who were evacuated from their homes near the ordeal in Encinitas will be allowed back into their homes soon.
The 22-year-old man, apparently upset by a restraining order obtained by his mother, had been keeping deputies at bay several hours after the deputies were wounded.
Both deputies are expected to survive.
THIS IS A BREAKING NEWS UPDATE. Check back soon for further information. AP's earlier story is below.
Law officers surrounded a Southern California home early Thursday where a gunman suspected of shooting two San Diego County sheriff's deputies had taken refuge, authorities said.
The 22-year-old man, apparently upset by a restraining order obtained by his mother, was keeping deputies at bay, several hours after the deputies were wounded.
"Just do exactly as you're told," Sheriff's Capt. Duncan Fraser said at a news conference Wednesday night, adding that he hoped the suspect was watching. "We need to resolve this peacefully and soon."
Both deputies were expected to survive.
Shortly before 3 a.m. PST Thursday, the sheriff's office said the standoff was still going on.
They had responded to a call at about 1 p.m. from the mother, who said her son had come to her house and stolen her car.
They didn't find the man but returned at about 3:30 p.m. They learned he had entered the home without his mother's permission and was hiding inside, Fraser said.
The deputies spent several minutes negotiating but the man refused to come out and kept making threats, so they fired tear gas, and the man responded with gunfire, hitting both of them.
Hours later after dark, dozens of law enforcement cars including armored SWAT vehicles jammed the street in Encinitas, a coastal suburb north of San Diego, and nine surrounding houses had been evacuated.
Fraser said the suspect, who was "extremely upset" about a restraining order taken out by his mother last week, was believed to be alone in the home.
One deputy was having surgery for a severe leg injury, the other was treated for a grazing fragment wound to his forehead then released from the hospital.
"He's traumatized, but his training took over and hopefully he'll make a full recovery," Sheriff Bill Gore told UT San Diego after talking to the second deputy.
Noting the shootings of officers and deputies in the manhunt for ex-police officer turned fugitive Christopher Dorner earlier this month, Gore said it has been "a real dark few weeks for all of law enforcement in Southern California."
Copyright 2015 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.