Eminem
Eminem delivered a controversial freestyle rap aimed at President Donald Trump, who he once received an endorsement from. His is pictured on Aug. 1, 2014 in Chicago, Illinois Getty Images

Rapper Eminem delivered a controversial rap freestyle during BET’s "Hip Hop Awards" Tuesday. It was aimed at President Donald Trump, who he once received an "endorsement" from.

The Detroit rapper slammed Trump during a fiery 4-minute freestyle Tuesday, which was laden with obscenities. He even referred to the president as a "racist 94-year-old grandpa."

"And any fan of mine who's a supporter of his, I'm drawing in the sand a line, you're either for or against, and if you can't decide who you like more and you're split on who you should stand beside, I'll do it for it for you with this. F--k you," he said at the end with a raised middle finger.

However, Eminem and Trump have shared pleasantries in the past. The rapper hosted the "Shady National Convention" on MTV in 2004 for his new satellite radio channel and Trump made an appearance. The event featured Eminem playing a fictitious political candidate looking to win an election.

"When the Shady Party called and told me there's going to be a convention, I said 'it's got to be a really big one and it's got to be right here in New York,'" Trump said in a speech endorsing Eminem’s fictitious candidate. "Because this is the best city anywhere in the world, am I right? Of course I'm right. I'm always right. I'm Donald Trump, I'm always right."

"I know a winner when I see one," he continued. "And Donald Trump is telling you right now, Slim Shady is a winner. He's got brains. He's got guts. And he's got Donald Trump's vote. Ladies and gentlemen. Our great candidate, Slim Shady."