Lorde joined the surviving members of Nirvana to perform 'All Apologies' at the Rock and Roll Hall of Fame 2014 Induction Ceremony, which took place at the Barclays Center in Brooklyn, N.Y., on Thursday, April 10. St. Vincent and Sonic Youth's Kim Gordon were also onstage for the song.

Lorde -- who technically took the stage on April 11, since the set happened after midnight -- filled in on vocals for the song that was originally recorded with the late Kurt Cobain. The 'Royals' singer, who's only 17 years old, wasn't even born yet when Nirvana achieved mainstream success with 1991's 'Nevermind' and 1993's 'In Utero,' the album that features the well-known singles 'All Apologies' and 'Heart-Shaped Box' -- but judging by the video clip above and the one below, she pulled off a great tribute to Cobain.

Fans may have been surprised by this unexpected Rock Hall collaboration, but the musicians actually shared a connection before the 2014 Induction Ceremony. Just last month, video of Nirvana bassist Krist Novoselic playing 'Royals' on the accordion at a show in Maryland surfaced on YouTube, and back in January, Lorde was spotted posing with both him and Dave Grohl backstage at the Grammys.

Lorde hit the stage in a pink pantsuit, pictured here:

Larry Busacca, Getty Images

Larry Busacca, Getty Images

Before being joined onstage by Lorde, Nirvana kicked off their Rock and Roll Hall of Fame Induction Ceremony performance with Joan Jett, who fronted the band for 'Smells Like Teen Spirit':

This was followed by a performance of 'Endless Nameless' with Kim Gordon:

The crowd was then treated to St. Vincent singing 'Lithium' with the band, and Lorde finally took the stage after this: