Follow CBSMIAMI.COM: Facebook | Twitter

MIAMI (CBSMiami) – Miami-Dade and Doral police officers took down a gunman who opened fire in the Trump National Doral Miami early Friday morning.

READ MORE: 'Toughest Job Of My Life': Potential Jurors Questioned In Second Phase Of Jury Selection Process For Parkland School Shooter Nikolas Cruz Penalty Trial

Officers were sent to the Trump National after receiving multiple calls of an active shooter in the lobby of the resort’s hotel around 1:30 a.m.

Police say 42-year-old Jonathan Oddi, dressed in black and armed with a semi-automatic handgun, stole an American flag from the back of the property and draped it over the front desk as he spouted anti-Trump obscenities.

“Started setting up the flag and he prepared the area for battle, that’s one of the tactics that he used,” said Miami-Dade police Director Juan Perez.

After pulling the fire alarm, Oddi pointed his gun at several people in the lobby but did not shoot them, according to Perez. Instead, he fired shots into the roof and a chandelier. He then waited for the police to arrive.

“We don’t know what his intentions were, his long-term intentions, but we know what he was trying to do at the time. It appears he was trying to engage our police officers, some type of ambush type attack, trying to lure our police officers, when I say our I mean both agencies, into this gunfight. He did succeed and he did lose,” said Miami-Dade Police Director Juan Perez.

READ MORE: South Florida Family Makes Plea To Help Find Son's Suspended Killer

Five officers entered the lobby and confronted him.

“Five officers shot. One from Miami-Dade police and four from the City of Doral police department. All of the officers, except for the one that broke an arm, are in fine condition. One officer was injured, we expect a speedy recovery from him,” said Perez.

That officer was taken to Baptist Hospital and is said to be in good condition.

Oddi was struck in his legs multiple times. He was taken to Kendall Regional Medical Center.

The Florida Department of Law Enforcement will investigate the police involved shooting and Miami-Dade police, the FBI, and the Secret Service will investigate what led up to Oddi’s actions.

The president’s son, Eric Trump, took to Twitter to thank the police for quickly taking down the threat.

MORE NEWS: Opera Singer, Fashion Designer Radmila Lolly Thrills Miami Heat Fans With Custom-Designed Ball Gowns