Jonathan Oddi, 42, was taken to the hospital with multiple gunshot wounds to his legs after a shootout with Miami-Dade police at a Trump-owned golf course.

Oddi snuck into the resort through a back entrance sometime around 1:30 AM ET, carrying with him an American flag he lifted from the back of the complex.

Once inside, Oddi reportedly draped the flag over the counter in the lobby and then yelled sorts of anti-Trump sentiments before pointing a gun at onlookers and shooting up the lobby roof and chandeliers.

Authorities say Oddi presumably tried to lure police officers into a shootout.

From NBC News:

Miami-Dade and Doral police responded to the scene after receiving calls of an active shooter.

Trump was in Washington at the time.

The officers were able to stop the gunman during a shootout, with five officers firing their weapons, striking Oddi in the legs, Perez said. A Doral officer suffered a broken arm at the scene, but was expected to be OK.

“You know, these officers did not hesitate one second to engage this individual that was actively shooting in the lobby of the hotel,” the police director added. “They risked their lives knowing that that they had to get in there to save lives in that hotel.”

Miami-Dade police said they were working with the FBI and Secret Service as part of the investigation into Oddi. Specific carges against the man were not immediately announced.

Investigators also searched Oddi’s home and car, but Perez said there was no evidence of booby traps.

Perez said officers’ “heroic” actions in stopping the gunman helped to prevent what could have been a deadly tragedy.

As day was breaking Friday, the large golf facility in the growing suburb was surrounded by a heavy police presence and news helicopters hovered over the scene. The entrances were blocked, and yellow caution tape was stretched across the main gate. A Miami-Dade crime scene truck was parked inside the gate.

The golf resort previously known as the Doral Resort & Spa was purchased by the Trump Organization in 2012. Its signature course is the Blue Monster at Doral.

From Eric Trump: