A woman who fired rounds in a downtown San Diego parking structure located along the route of a marathon was arrested on Sunday, police said.

The incident began as a call about a misdemeanor hit-and-run around 10:50 a.m., San Diego police Sgt. Tom Sullivan said.

Itโ€™s unclear when the shooting started, but police said that about 11:40 a.m., the woman slid underneath a parked car on the eighth floor of a parking garage and held a gun to her face.

Soon after, she was taken into custody.

Several media outlets reported that a police officer accidentally shot himself during the incident and was taken a hospital with injuries that werenโ€™t life-threatening.

A number of streets surrounding the parking garage were closed as dozens of patrol officers descended on the area.

The incident was close to the finish line of the San Diego Rock โ€˜nโ€™ Roll Marathon, and the race was suspended for about a half hour, said Josh Furlow, managing director of the Rock โ€˜nโ€™ Roll Marathon Series. About 4,900 runners were rerouted and told to stay at San Diego City College.

Tyree Waller said he had just crossed the finish line when police shut down the race. The experienced runner from Atlanta said the marathon was his seventh, and that the incident didnโ€™t change his perspective on race safety.

โ€œNo, Iโ€™m still going to keep on running,โ€ Waller said.