SOUTH SAN FRANCISCO (CBS SF) — A South San Francisco police officer was injured Tuesday during the arrest of a San Francisco man who was allegedly harassing an ex-girlfriend.

Officers responded at 7:42 a.m. Tuesday to an apartment complex in the 600 block of Commercial Avenue. According to the female caller, her ex-boyfriend Ulysses Gutierrez, 24, was outside the apartment and refusing to leave while sending her text messages that he planned to vandalize her car.

READ MORE: Big Rig Crash Slows Eastbound Commute On Highway 24

Officers contacted Gutierrez outside of the apartment and he tried to flee shortly afterward. The officers detained Gutierrez a short time later and found a loaded gun and an additional loaded gun magazine in his possession.

One officer, whose name was not released, struck their head and temporarily lost consciousness while attempting to apprehend Gutierrez. The officer received treatment at a hospital and has since been discharged.

READ MORE: 'When I Finally Got To Be Elvira, That's When My Life Calmed Down': Mistress Of The Dark Peels Back The Curtain

Officers discovered the gun Gutierrez had was reported stolen from another state. Gutierrez was also wanted on a pair of counts of post-release community supervision for false imprisonment and assault.

Gutierrez was arrested and transported to the San Mateo County Main Jail.


MORE NEWS: UPDATE: Pleasant Hill In-N-Out Burger Shut Down for Repeatedly Defying COVID Health Order

© Copyright 2020 CBS Broadcasting Inc. and Bay City News Service. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.