By CBSLA Staff

RIVERSIDE (CBSLA) – A man was shot and killed by police after aiming a gun at officers, the Riverside Police Department said.

It happened around 8:20 a.m. Saturday in the 3700 block of Magnolia Avenue in Riverside.

READ MORE: Moviegoers Finally Back In Theaters, Excited For Summer Blockbuster 'Fast And Furious 9'

Officers were patrolling the area, which has a large homeless population. As officers approached one man, he started walking away from them, according to Officer Ryan Railsback with the Riverside Police Department.

“He turned towards officers, produced a handgun, and pointed it at them,”  added Railsback. “Two of the officers fired their handguns.”

READ MORE: Man Shot To Death In Unincorporated Area Near South Los Angeles

The suspect was struck several times and taken to a local hospital where he died, officers said.

It is unclear what type of gun the suspect had and whether or not it was loaded.

The Riverside County Sheriff’s Department was on the scene investigating the incident. They are being assisted by the Riverside County District Attorney’s Office.

MORE NEWS: Cat Named Hog Allegedly Taken By Uber Eats Driver Back Home In Studio City

No officers were injured.