CULVER CITY (CBSLA) — Authorities say a homeless man armed with a knife was shot and killed by police Monday in a Culver City parking garage.

According to the Culver City Police Department, the shooting happened at about 3 p.m. at a parking garage on Washington Boulevard and Landmark Street.

READ MORE: Driver Arrested On Suspicion Of DUI After Colliding With 2 Pedestrians At Gas Station In Highland Park

Police said a man allegedly pulled a knife on a maintenance worker who then called 911. When officers arrived on the scene, a foot chase ensued to the roof of the parking structure.

Officers initially deployed less-lethal munitions in an effort to disarm the man, according to the department, but later opened fire after the man allegedly ran toward the officers with the knife.

READ MORE: Bob Dole, Who Overcame Severe WWII Wounds To Lead Senate GOP And Run For President, Dies At 98

The man was taken to a nearby hospital with at least one gunshot wound, where he was pronounced dead.

A Culver City police officer also suffered a gunshot wound to the leg.

“At some point, he tried to run toward the officers, and an officer-involved shooting occurred,” Lt. Derrick Alfred, of LASD, said. “And it seems like he may have run between two officers, which caused the friendly fire, which resulted in one of the officers being struck by another officer.”

MORE NEWS: Inside SoCal: 12/5 Wrap-Up

The officer who suffered the friendly-fire gunshot wound to his leg was taken to a local hospital in fair condition.