A Customs and Border Protection officer was shot and killed during a firearms demonstration at a gun range in Miami on Wednesday.

Miami-Dade police say the officer was an instructor at the Trail Glades Range and was conducting a building search drill with another instructor when he was shot, according to Local 10. The man, who has yet to be identified, was placed in an ambulance and airlifted to Jackson Memorial Hospital's Ryder Trauma Center, where he later died.

"All I can say at this time is that a great officer, a great family and it’s a tragic loss, but I’d rather not go into personal information at this time," CBP spokesman Michael Silva told reporters.

Silva added that the officer had been a "father, spouse, uncle, great uncle, great family man, just all around great guy."

MAN SHOT IN CHEST AT MIAMI-DADE SHOOTING RANGE, AIRLIFTED TO HOSPITAL: POLICE

Miami-Dade police respond to an incident in a patrol car

Police tape blocks the scene of a shooting in Miami-Dade, Florida. (GIANRIGO MARLETTA/AFP via Getty Images)

U.S. Customs and Border Protection patch

U.S. Customs and Border Protection patrolling in Nogales, Arizona. A migrant who tried to escape from Border Patrol agents in Texas died while in custody, the agency said Friday.  (Stephanie Bennett/Fox News)

Sources told Local 10 that the man was shot by the other instructor conducting the building search drill.

HOUSTON'S SECOND GUN BUYBACK PROGRAM SEES RECORD NUMBERS: 'WE BELIEVE THIS IS THE LARGEST'

Multiple reports say law enforcement officers frequently use the gun range for practice, and the shooting reportedly occurred in the area of the gun range officers typically use.

Miami-Dade Police

Miami-Dade police investigate a crime scene. (Roberto Koltun/El Nuevo Herald/Tribune News Service via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

"On the police range side it’s mainly Customs and Border [Protection], they come on Wednesday for practice," witness Dario Pederajo told WPLG. "Several police officers came running over to the civilian side of the range, where the main office is, and said someone had been shot, stop shooting."