NORTH MIAMI BEACH, Fla. -

A Miami-Dade police officer is recovering at Jackson Memorial Hospital after he was shot three times in a confrontation with teenaged burglary suspects in North Miami Beach.

Officer David Carrero, 27, was responding to a 911 call of an armed burglary in progress when a teenager started firing, according to Miami-Dade Police. Carrero was shot in the legs and is expected to recover. Family members told Local 10 Carrero is "doing great."

The shooting of Officer Carrero resulted in a massive law enforcement response Sunday afternoon, led by heavily armed members of the Miami-Dade Police Special Response Team, which confronted the gunman and exchanged gunfire, leaving the suspect dead. Police have identified the dead man as 18-year-old Giovanni Thermidor, who's described as part of a burglary team that was attempting to break into homes in North Miami Beach over the holiday weekend.

Police arrested a second teenager, identified as 17-year-old Kharl-Henry Lebrun, of North Miami. Lebrun is being held on multiple charges, including 2nd degree felony murder, attempted murder of a police officer, and attempted armed burglary. According to an arrest report, Lebrun and a partner, believed to be Thermidor, were armed with a 9mm handgun and a crowbar.

A police work dog was also shot during the gunfire Sunday. The dog, Rocco, survived and is recovering at Hollywood Animal Hospital. Veterinarians said the bullet missed his heart by inches, but he is expected to make a full recovery.