Michael Nutter ended his final Fourth of July as Philadelphia's mayor with a bang. Or more appropriately, a thud.

During the closing of Saturday Night's Philly 4th of July Jam, Nutter made a surprise appearance onstage with The Roots and showcased his rap skills to a cheering crowd with his performance of 'Rapper's Delight.'

Following his rendition of The Sugar Hill Gang's immortal classic, an out-of-breath Nutter emphatically dropped the microphone to the delight of the cheering crowd gathered on the Ben Franklin Parkway.

Despite the apparent spontaneity of Nutter's rap, this isn't the first time he's performed 'Rapper's Delight' with The Roots. Back in 2012, Nutter ushered in his second term by performing the song with The Roots during a party celebrating his second inauguration.

Maybe that explains why Nutter was able to effortlessly remember the lyrics of a song that has stumped even the most confident partygoers for the past 20 years.