A man who pointed a gun at people in a South Los Angeles gas station parking lot was shot and killed by officers, the Los Angeles Police Department said.

The shooting occurred late Wednesday after the armed man approached four people in the lot at 111th and Figueroa streets and officers on patrol saw the situation, the department said in a tweet.

WATCH: LAPD OFFICERS TACKLE SUSPECT TO GROUND AT END OF WILD CHASE

“The officers stopped and gave the suspect commands which he failed to comply with — at which point an officer-involved shooting occurred,” the department said.

Nearby, a Los Angeles County sheriff’s deputy was involved in a shooting around 4 a.m. Thursday at 108th Street and Vermont Avenue.

ARMED MAN KILLED IN LOS ANGELES POLICE SHOOTING AFTER POINTING GUN AT GROUP OUTSIDE GAS STATION

A brief Sheriff’s Department statement said homicide detectives were investigating a shooting involving a man but gave no details.

KNBC-TV reported from the scene that the man died. He was wanted for assault with a deadly weapon and the shooting occurred after a brief vehicle pursuit, the station said.

Los Angeles police also shot and wounded a woman in an incident in the Winnetka area of the San Fernando Valley around 2:30 a.m. Thursday.

CLICK HERE TO GET THE FOX NEWS APP

Police responding to a report of a trespasser at a hotel went to a room where they encountered the woman armed with a handgun, the department said.