By The Associated Press

The 2018 Billboard Music Awards paid tribute to the students and teachers affected by recent deadly shootings in Texas and Florida, while the night also featured show-stopping performances by iconic singer Janet Jackson and K-pop group BTS.

Shawn Mendes and Khalid were joined onstage by the Marjory Stoneman Douglas Show Choir for the song โ€œYouth,โ€ a performance occurring three months after 17 people were killed at the school in Parkland, Florida.

Icon award winner Janet Jackson performs a medley at the Billboard Music Awards at the MGM Grand Garden Arena in Las Vegas. (Photo by Chris Pizzello/Invision/AP)

Mendes and the choir members wore sweaters that read โ€œYouth,โ€ while Khalidโ€™s shirt read โ€œProtect Our Guns Childrenโ€ with โ€œGunsโ€ crossed out.

The show wasnโ€™t all somber though: Jackson rocked the Billboard Awards with an energetic and powerful performance of her past hits in an epic week that included her 52nd birthday and the 25th anniversary of her groundbreaking โ€œjanet.โ€ album.

In a glittery gold sweater-dress and thigh-high boots, Jackson sang โ€œNasty,โ€ โ€Ifโ€ and โ€œThrobโ€ as audience members such as Ciara and Tyra Banks danced along at the MGM Grand Garden Arena in Las Vegas.

Bruno Mars made a surprise appearance to introduce the singer, who earned the Icon Award.

Jackson used her speech to pay tribute to powerful women.

โ€œWomen have made it clear that we no longer will be controlled, manipulated or abused. I stand with those women and with those men equally outraged by discrimination who support us in heart and mind,โ€ she said onstage.

Ed Sheeran, who didnโ€™t attend the show but performed from Dublin, won the nightโ€™s biggest honor โ€” top artist โ€” besting Mars, Drake, Kendrick Lamar and Taylor Swift.

Luis Fonsi was passionate when he picked up top Hot 100 song for โ€œDespacito,โ€ the biggest hit of the last year which also included Daddy Yankee and Justin Bieber.

โ€œThank you, guys, so much for embracing a mostly Spanish song,โ€ he said. โ€œThis goes out to my Latino brothers, the immigrants โ€ฆ to all of those when they say โ€˜Speak English,โ€™ this goes out to you.โ€

Camila Cabello won the chart achievement award and also won over the crowd with her performance of โ€œHavana,โ€ as audience members Mila Kunis and Rebel Wilson sang along and danced happily.

Cabelloโ€™s former Fifth harmony bandmate, Normani, was fierce as she performed โ€œLove Liesโ€ alongside Khalid; Grande followed Clarksonโ€™s emotional words with an energetic performance of โ€œNo Tears Left to Cryโ€; and John Legendโ€™s performance ended with a photo of his new baby boy displayed on the large screens at the arena.

Salt-N-Pepa closed the show with high-energy, performing the hits โ€œPush Itโ€ and โ€œWhatta Manโ€ alongside R&B group En Vogue and even Clarkson.