The 45th President of the United States was in attendance at the Kesaya Center on Saturday night to watch the promotion’s fifth pay-per-view card of the year.
Trump made a subdued entrance into the packed arena just before the main card got underway.
But his presence was greeted with huge cheers by fans when he came up on the big screen.
Trump was in Dana White’s VIP seats along with boxing legend Mike Tyson and musician Kid Rock.
MMA fans were quick to comment on the former president’s presence, with one saying: “President Donald Trump in attendance at UFC 287.”
Another said: “Donald Trump is popular in Miami.”
And another said: “Oh s**t, Donald Trump pulled up to UFC 287.”
One remarked: Donald Trump facing 185 years and running for re-election but found time to push up to UFC 287.”
Another chimed in: “Donald Trump sitting in the UFC crowd?
“I thought this MF was supposed to be in prison?”
Trump attended UFC 287 – where buddy Jorge Masvidal was in action – just over ten days after being indicted by a grand jury.
The former Republican candidate was indicted for allegedly paying hush money to pornstar Stormy Daniels ahead of the 2016 presidential election.
Daniels claimed she had sex with the former president after being invited to his Lake Tahoe penthouse – where he allegedly also talked about giving her a guest appearance on The Apprentice.
The decision to charge Trump is a historic one as it made him the first US president to be indicted.
Trump pleaded not guilty to the 34 counts, including the Class E felony of falsification of business records.