BALTIMORE (WJZ/AP) — A Baltimore City police trainee is recovering after being struck in the upper thigh by a metal fragment.

The trainee was at the Gunpowder Firearms Training Facility Tuesday morning undergoing routine firearms training.

During the course of the training, a bullet ricocheted off of one of the metal target holders, fragmenting.

A portion of that fragment struck a trainee in the upper left thigh.

The trainee was taken to the hospital with non-life threatening injuries.

Officials say all appropriate safety measures were in place, including protective gear and appropriate Instructor/trainee ratios.

In February, a trainee for the University of Maryland, Baltimore campus police was shot in the head at a different firearms training center.

Raymond Gray lost an eye in the incident on the grounds of the former Rosewood Center. City police were administering the training at the center, a now-shuttered state hospital for the mentally disabled in Owings Mills.

The officer who allegedly shot Gray, William S. Kern, has been charged criminally.