HOUSTON - A Houston police officer was shot in the arm by another officer during a car and foot chase in southwest Houston on Thursday, according to police.

There was a chaotic scene in southwest Houston after a car pursuit turned into a foot chase that turned into a shooting, wounded an officer and a suspect. But the way it happened was somewhat of an accident.

"This is going to be looked at as a friendly fire incident," said Houston Police Department spokesperson Victor Senties.

Police said Officer Eric Garza -- a 12-year veteran of HPD -- was accidentally wounded by his partner when they were chasing a suspect on the feeder road of Beltway 8 near West Bellfort. The suspect drove off after officers tried to pull him over for a moving violation. He jumped out of the car in a hotel parking lot and ran into a field. Officer Garza and his partner gave chase into a brushy area where the partner discharged his weapon. The bullet grazed the suspect in the back -- but also hit Officer Garza in the upper arm. Garza was rushed to Memorial Hermann in the Medical Center.

"I did speak to the officer," said Executive Assistant Police Chief Martha Moltalvo outside of Memorial Hermann. "He's still going through the evaluation here at the hospital, but he appears to be doing well."

Investigators still are trying to sort out all the details, with both officers and the suspect winding up in the hospital.

"This information that i'm giving you is preliminary," said Senties. "It's the initial information that we have right now given the fact that every one of the parties involved has been transported to the hospital."

Officer Garza's partner was taken to the hospital after suffering shortness of breath and a rapid heartbeat. He is expected to recover just fine.

Police said the suspect, whose name has not been released, had warrants out of the Dallas area.

Copyright 2015 by Click2Houston.com. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.