DORAL, Fla. – A Doral police officer is in serious but stable condition after he was shot Wednesday in an accident at a training facility.

The police sergeant, identified as Eric Fernandez, 29, was shot in the upper torso around 11:40 a.m. at the Miami-Dade Public Safety Training Institute on Northwest 58th Street.

Miami-Dade Fire Rescue airlifted the sergeant to Jackson Memorial Hospital's Ryder Trauma Center in Miami.

Fernandez is a supervisor and has been with the department for 11 years. He has been a sergeant for three years.

"He's a sergeant assigned to the road, but he is a training instructor," Doral Police Chief Hernan Organvidez said.

Organvidez said his department is investigating the incident, which occurred indoors during a training exercise for new officers. He was unaware if live ammunition was supposed to be in the weapons at the time of the incident.

"Everybody's shaken up anytime an officer is shot. Obviously it's a heavy burden on all of the officers," Organvidez said.

It's unknown if Fernandez shot himself of if he was shot by another person.

"I definitely want to find out to make any corrective actions that we need to do in the future," Organvidez said.

Authorities confirmed Fernandez was not wearing a vest at the time of the shooting and was supervising a squad of training officers who train rookies.

The Miami-Dade Police Department is investigating.