INGLEWOOD (CBSLA) —    Authorities said a suspect who shot at Inglewood police held SWAT officers at bay for more than three hours Thursday afternoon.

The man was taken into custody following the standoff.

READ MORE: 'They've Adjusted Really Well': State Superintendent Tony Thurmond Gets A Look At LAUSD's COVID-19 Safety Precautions

The suspect was not wounded. No officers were hurt, according to officials.

The man allegedly fired at police around 2 p.m. in the area of Queen and Oak streets, near Manchester Boulevard.

Following the shooting police said the suspect dropped his handgun before fleeing into an apartment complex, police told reporters at the scene.

READ MORE: Service Disruption Begins Friday On Metro C Line Trains

A SWAT team surrounded the area and crisis negotiators tried to coax the suspect into surrendering.

At one point, the suspect was seen on a roof within the containment area.

Police tweeted about 6:20 p.m. that the man was in custody.

The suspect’s name was not immediately released.

MORE NEWS: Animal Cruelty Charges May Be Sought After Severely Neglected English Bulldog Puppy Found At Coachella Property Dies

(©2017 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)