DORAL, Fla. — A man who was allegedly “actively shooting” in the lobby of Trump National Doral Miami in Doral, Florida, and “yelling” about President Donald Trump was shot and wounded by police early Friday morning, authorities said.

Both Miami-Dade Police and Doral Police responded to reports of shots fired at the hotel, Doral Police Chief Hernan Organvidez said during a news conference. Upon arrival officers from both police departments exchanged fire with the man and were able to take him into custody “without further incident,” Organvidez said.

The man was transported to a nearby hospital after being shot multiple times in the lower extremities, WPLG reported. One officer sustained a broken wrist, according to reports. The officer was also taken to a hospital and is in good condition, Organvidez said.

In a statement posted to Twitter, Miami-Dade Police said “No shooting victims have been reported at this time.”

There was no need to evacuate the hotel as the man was swiftly “neutralized,” authorities said. The melee lasted less than two minutes, Organvidez said.

The man was allegedly “yelling and spewing some information about President Trump,” Miami-Dade Police Director Juan Perez said during the news conference.

Perez said the man also draped an American flag over a counter in the hotel’s lobby. There he waited for police, engaging them in a gunfight when they arrived, according to the Miami Herald.

He was not a guest at the hotel, police said.

“We’re not saying that this is terrorism, we’re not saying anything like that, but we’re not discounting anything at this point,” Perez said, adding that the investigation is still in its early stages.

Homeland Security and Secret Service agents are on the scene, and the FBI is en route, Perez said. The Florida Department of Law Enforcement is also part of the investigation.

The hotel is a luxury resort part of Trump National Doral Golf Club, an 800-acre resort owned by President Trump that is located near Miami. Trump purchased the golf course in 2012 for $150 million.

Perez said the joint response to the shooting was “seamless” and called the officers “heroic.”

“These officers did not hesitate one second to engage this individual who was actively shooting in the lobby of the hotel,” he said. “They risked their lives knowing that they had to get in there to save lives in that hotel.”