Washington (CNN) President Trump has been silent about the passing of Mac Miller, but before Trump entered politics, he had a lot to say about the rapper, who died last Friday at 26.

One of Miller's earliest singles, "Donald Trump," was released in 2011. Trump appeared to be pleased when the song was first released, tweeting, "Who wouldn't be flattered?" after the song's music video racked up millions of views, but he soon turned on Miller.

In January 2013, Trump posted a photo of a plaque for the song he said he received from Miller. The track would soon be certified platinum by the RIAA for one million downloads, and Trump claimed Miller didn't have the right to use his name.

Throughout 2013, Trump attacked Miller on Twitter in a manner that's now familiar to those who read his tweets as a candidate or as president. He called the rapper "Little @MacMiller" and a "dog," threatened to sue him, and took credit for the song's success.

Little @MacMiller, I'm now going to teach you a big boy lesson about lawsuits and finance. You ungrateful dog! — Donald J. Trump (@realDonaldTrump) January 31, 2013

Trump lobbed insults at Miller and said he should be paid for the song.

Little @MacMiller—I have more hair than you do and there's a slight age difference. — Donald J. Trump (@realDonaldTrump) January 31, 2013

Read More