Charlotte police say an officer has shot and wounded a suspect who had a gun.

Lt. Andrew Harris said in a news release that an officer heard gunshots coming from the parking lot of a motel shortly after 1:30 a.m. Wednesday.

Harris says when the officer reached the parking lot, she got out of her patrol car and was confronted by a person with a handgun. The statement says the officer considered the suspect a threat and fired.

The suspect was taken to Carolinas Medical Center with injuries that were not considered life-threatening. The officer was not hurt.

The names of the officer and suspect have not been released. The race of those involved was not immediately available.

The officer has been placed on leave during the investigation.