Police shot and killed three people Thursday and an officer was stabbed in a series of Southern California confrontations, authorities said.

A man armed with a garden claw was shot in a Los Angeles suburb, police in Anaheim killed a man armed with a gun after an hours-long standoff and a woman was shot at a San Diego condominium after she stabbed a police officer in the chest, authorities said.

After midnight in Bellflower, Los Angeles County sheriff’s deputies answering reports of illegal street racing were approached by a man who said he’d been stabbed by someone with a garden claw, the Sheriff’s Department said. The victim pointed out the man, who ran off but was confronted nearby. He then came toward the deputies and was shot while swinging a 3-foot-long (0.9-meter) garden claw with spikes on it, authorities said.

The other man was treated at the scene.

In Anaheim around 10 p.m. Wednesday, a caller said a man was threatening a woman and may have fired a gun, authorities said. Officers found the woman unharmed but the 41-year-old man barricaded himself inside the home, Sgt. Shane Carringer said.

Neighbors were evacuated.

Police tried to talk to the man and convince him to leave the home peacefully but he had a gun when he finally came to the door shortly before 4 a.m., and police opened fire, Carringer said.

In San Diego, police were called shortly after 12:30 p.m. to help county sheriff’s deputies serving civil paperwork to a 47-year-old woman at condominium complex in the Little Italy neighborhood, authorities said.

A witness told KGTV-TV the paperwork was an eviction notice.

The officers were met at the door by a woman holding a knife but she closed the door, and an employee at the complex told officers she had threatened a maintenance worker with a knife the previous day, police Capt. Matt Dobbs said.

Authorities tried to talk to the woman for about 45 minutes without success before opening the door, at which point she stabbed a police dog handler in the chest with a large chef’s knife, Dobbs said.

“It went directly into his chest,” Dobbs said.

Three sheriff’s deputies and a San Diego police officer opened fire, killing the woman. The wounded officer was treated at a hospital and released, Dobbs said.

He is doing “very, very well,” Police Chief David Nisleit said.