DORAL, Fla. — An armed man ranting against President Trump opened fire on police officers early Friday at the Trump National Doral Miami Golf Club in South Florida before he was wounded and apprehended, the authorities said.
Although the police did not immediately describe a motive for the attack at the resort, they said the man had tried to ambush officers and had yelled “anti-Trump” rhetoric.
“We don’t know what his intentions were — long-term intentions — but we know what he was trying to do at the time, and it appears that he was trying to engage our police officers, some kind of ambush-type attack, trying to lure our police officers,” said Juan J. Perez, the director of the Miami-Dade Police Department.
Mr. Perez said that the suspect, identified as Jonathan Oddi, 42, “did succeed, and he did lose” the gunfight at the hotel, which the Trump Organization owns. The hotel, located in Doral, Fla., is west of Miami and about 70 miles from the Mar-a-Lago retreat that Mr. Trump has called the “Winter White House.”
“We immediately were able to neutralize this threat,” Mr. Perez said. “If not for the heroic efforts of the police officers that responded here today, this individual would have caused a lot of harm, and he was not able to do that.”
The authorities said they believed Mr. Oddi, who was shot and taken to a hospital, had acted alone in the episode, which federal, state and local law enforcement officials were reviewing on Friday. The Doral police said there was “no further threat” at the club. One officer suffered a broken wrist but was expected to recover.
Investigators were still piecing together how Mr. Oddi entered the Trump complex in the first place, but Mr. Perez said officials believed that the suspect had removed an American flag from a pole on the property and brought it into the hotel’s marble-floored lobby at about 1:30 a.m. He draped the flag over the counter, Mr. Perez said, and began yelling about Mr. Trump.
Mr. Oddi, who is also believed to have pulled the club’s fire alarm, soon fired a handgun toward the roof and chandeliers, and officers “immediately went in and neutralized him,” Mr. Perez said. Five officers ultimately returned fire, the director said.
The Trump Organization bought the golf resort, formerly known as the Doral Resort and Spa, in 2012. The club, one of 11 hotels the Trump Organization lists in its worldwide portfolio, has four golf courses, including its crown jewel, the Blue Monster at Doral.
Properties tied to Mr. Trump have drawn protests against his presidency, and some demonstrations have led to arrests. Last May, the authorities in Washington said they arrested a man after finding both a rifle and a handgun in his vehicle at the Trump International Hotel on Pennsylvania Avenue.
After sunrise on Friday morning in Florida, police cruisers and uniformed officers blocked the entrance to the club, a long driveway lined with palm trees and manicured landscaping.
Several hotel guests huddled down the driveway, at the busy intersection of Northwest 41st Street and Galloway Road, waiting for their rides since drivers were not being let into the property. Some had their carry-on luggage in hand and were en route to the airport.
Gordon Olsen, a hotel guest in town on business from New Jersey, said he found out what had happened at the Doral property when he received a text message from someone checking on his well-being.
He planned to remain a guest at the hotel. “They have him in custody,” he said of the gunman.
But, Mr. Olsen added: “I’m wondering if maybe you can’t stay at Tump properties anymore.”
Patricia Mazzei reported from Doral, and Alan Blinder from Atlanta. Matthew Haag contributed reporting from New York, and Gerry Mullany from Hong Kong.