Nicki Minaj took a pop at Miley Cyrus during her acceptance speech for Best Hip Hop Video at the MTV VMAs.

Although Nicki and Taylor Swift had had words over Twitter in July over Nicki's comments about being left out of the Video of the Year category, they had buried the hatchet by the event.

Nicki brought Taylor out during her performance, which featured dancers dressed in fiery, Caribbean-inspired sequined red outfits.

The surprise appearance was made when Nicki finished performing her song Trini Dem Girls. The audience went nuts when Taylor was revealed, as the songstress emerged from beneath the stage seemingly out of nowhere.

The 25-year-old sang along to Nicki’s song The Night Is Still Young and then the ladies engaged in a playful 30-second rendition of Taylor’s hit Bad Blood.

However, Nicki had someone else in her line of fire. She slammed Miley Cyrus live on air. The rapper was accepting her award for Best Hip Hop video for Anaconda and just before wrapping up her speech she addressed Miley, who served as host of the 2015 MTV VMAs.

“And now back to this b***h who had a lot to say about me the other day in the press. Miley, what’s good?” Nicki sneered.