A man who police said had a second job as an "armed security officer" was being investigated after he accidentally shot a student Rangeview High School in Aurora, Colorado on Monday.

According to KMGH-TV, a school employee who also has a second job as a security officer had offered a student a ride home at the end of the day. The gun discharged, hitting the student in the leg, when the school employee tried to secure his weapon in the glove box of the car.

The man took the student to a nearby hospital, where he was rushed into surgery with a "significant injury," police said. The injuries were not expected to be fatal.

It was not immediately clear what type of work the man did for the school, but police said that he was not a teacher.

Police did not say if the employee would face charges.

["Portrait Of A Frustrated Police Officer" on Shutterstock]