Throughout the 2016 presidential election, hip-hop has been in almost total accord when it comes to Donald Trump; as YG put it, "Fuck him." The xenophobic rhetoric that got him elected didn't sit well with Black artists on the whole, and everyone from T.I. to Eminem spoke out against the orange one.

But it wasn't so long ago that rappers were enamored with Trump, or at least what he stood for. His wealth alone was enough to attract the admiration of rappers, who gloated about apartments at Trump Tower they'd only slept in once. To be affiliated with Trump or his properties was to include oneself in the elite class of citizens with enough money to do so. His politics had not yet come to the surface in the 1990s and 2000s, but once he started denouncing Latinos and Muslims, rappers began jumping ship at record speed.

A recent CNN piece found that between 1989 and 2016, Trump was mentioned at least 318 times in rap lyrics. Between 2015 and 2016, 83 songs have mentioned Trump; most of the mentions have been negative.

Trump used to be pictured hanging around people like Diddy and Russell Simmons, and made an appearance on The Fresh Prince of Bel-Air in 1994. KRS-One said Trump "was a friend to hip-hop back in the day" and G-Unit even had him do drops for their mixtapes. But now the same artists who have used him as a status symbol in their lyrics are slamming him; Rick Ross floated out the idea of assassinating Trump "like I'm Zimmerman" after once saying his "bank account on Donald Trump," and Mac Miller called Trump a "racist fuckwad" years after naming a song after the magnate.

So as the country continues to roil over the election of Donald Trump, XXL takes a look back at when the now newly elected president got props in rap lyrics through the years.