Four people, including a child, were killed in a mass shooting at an office complex in Orange, California, on Wednesday, a police official said.

A fifth victim was wounded and transported to a local hospital in critical condition, Lt. Jennifer Amat said.

Police responded to a call of shots fired around 5:30 p.m. and encountered gunshots when they got to the scene, Amat said during a news conference.

The suspect was transported to the hospital after sustaining a gunshot wound in a shooting with police, Amat said. One firearm was recovered from the scene and the suspect is in critical condition, she said.

Read more: CNN