Los Angeles police shot and killed a man who officials said was armed with a gun and led officers on a foot chase over the weekend.

Officers were patrolling the Westlake neighborhood when the spotted a man with a gun around 3:20 a.m. Sunday, police said.

DELAWARE WOMAN CRITICALLY WOUNDED BY POLICE AFTER SHE SHOT A 26-YEAR-OLD

"When the officers made contact with him, an officer-involved shooting occurred," said Los Angeles Police Department spokesman Bruce Borihanh.

The suspect, a man in his 20s, ran from the scene and officers chased him on foot. They shot at him a second time, killing the man, according to police.

Man armed with gun was shot and killed by the police

A man armed with a gun led police officers on a foot chase until he was fatally shot in Los Angeles, California, on Sept. 11, 2022.  (Fox News)

Steve Flowers said he heard the shooting from his apartment.

"I hear the first two pops," Flowers told the Los Angeles Times. There was a pause, Flowers said, then he heard a second volley of gunfire with about seven shots.

MARYLAND OFFICIALS RELEASE NAMES OF 2 PARENTS, 3 CHILDREN WHO DIED IN SHOOTING

Police said a handgun was recovered at the scene and video from cameras worn by the involved officers is being reviewed, the Times reported.

It was unclear if the suspect fired at officers.

More information on how the interaction unfolded would be released after an administrative investigation, Borihahn said.