Updated, March 21, 2016 at 3:08 p.m.: The Alachua County Sheriff’s Office announced Monday afternoon that the gun Robert Dentmond appeared to be holding was “a realistic replica,” not an actual weapon as authorities originally alleged.

Here is the joint update from the sheriff’s office and the Gainesville Police Department:

As part of the investigation into the circumstances surrounding this incident, the firearm Mr. Dentmond was holding at the time he was encountered by law enforcement officers was recovered. That weapon is now confirmed to be a realistic replica of a semi-automatic rifle. The Alachua County Sheriff’s Office also confirms that five (5) Deputies fired their weapons during the course of this incident. Three (3) of the Deputies on scene are Crisis Intervention Team (CIT) certified, having undergone 40-hours of training in identifying individuals suffering from mental illnesses, individuals in crisis, and de-escalation techniques. In addition, members of our Negotiations Response Team (NRT) had been contacted and were responding to the location to take over responsibility for communicating with Mr. Dentmond prior to his actions which forced Deputies and Officers on scene to employ a lethal response. The Gainesville Police Department confirms that four (4) Officers fired their weapons during this incident. One (1) of those involved officers is Crisis Intervention Team (CIT) certified.

The Florida Department of Law Enforcement will continue to investigate the shooting.

Our original headline on this story has been changed to reflect this update.

The sheriff’s office also wrote Dentmond was intent on killing himself or forcing law enforcement to kill him, if necessary.

“Mr. Dentmond also communicated his intent to end his life via text messages prior to making the phone call to ACSO,” Lt. Brandon Kutner and GPD officer Ben Tobias wrote. “These text messages were not available to ACSO or GPD personnel prior to their response to the Majestic Oaks Apartment Complex and were discovered through the course of the subsequent investigation.”

Original story, Monday March 21, 2016 at 5:08 a.m.:

A teenager was shot dead Sunday night, law enforcement announced Monday morning, after refusing to comply with deputies and officers from the Alachua County Sheriff’s Office and the Gainesville Police Department.

Robert Dentmond called 911 at 10:07 p.m. and told operators he was walking around with an M16 rifle at Majestic Oaks Apartment Complex in Alachua County, just north of SW 20th Avenue and west of I-75. Dentmond told the 911 operator he wanted to shoot himself. He then hung up the phone.

Patrol units arrived on the scene and saw Dentmond with an AR-15 assault rifle, according to a sheriff’s office press release.

Sheriff’s office deputies and Gainesville police officers began “a dialogue” with the 16-year-old Dentmond, who dropped the rifle to the ground. He picked the gun up again, after speaking with officers and deputies, and began to walk toward one of the apartment buildings.

According to the press release, deputies and officers made verbal commands for Dentmond to drop his weapon, which he continued to ignore.

Dentmond was warned if he continued walking toward the apartment complex, the deputies and officers present would be forced to fire their weapons at him. Dentmond continued to ignore the statements given; the deputies and officers opened fire.

Dentmond was taken to UF Health at Shands Hospital by Alachua County Fire Rescue, where he was later pronounced dead.

The Florida Department of Law Enforcement is investigating the shooting. The sheriff’s office and police department are also conducting administrative investigations into the incident.

Read also: Teen Fatally Shot By Police Has Been Identified

The full press release is below.