NEW YORK: Kendrick Lamar was the king of the 2017 MTV Video Music Awards, winning six awards on a night full of emotional performances, political moments and a new, eye-popping Taylor Swift music video.

Lamar’s Humble won video of the year, best hip-hop video, direction, cinematography, art direction and visual effects on Sunday at the Forum in Inglewood, Calif.

He gave an explosive performance of Humble and DNA, backed by ninjas dancing near fire. But another rapper had the night’s most memorable and touching performance.

Logic performed his inspirational song 1-800-273-8255, named after the phone number for the National Suicide Prevention Lifeline. He was joined onstage with suicide attempt survivors as well as singers Alessia Cara (best dance video winner) and Khalid (best new artist winner). Lyrics from Logic’s song include: “I don’t wanna be alive/I just wanna die today” and “I want you to be alive/You don’t got to die today.”

Kesha introduced the performance and also offered words of encouragement: “As long as you don’t give up on yourself, light will break through the darkness.”

Pink was also emotional when she accepted the Michael Jackson Video Vanguard Award, telling the audience a story about her daughter, who was sitting in the audience with husband Carey Hart. Pink said her daughter recently told her that “I’m the ugliest girl I know ... I look like a boy with long hair.”

Pink said she then showed her daughter images of performers like Michael Jackson, David Bowie, Janis Joplin, George Michael, Elton John and Freddie Mercury.

“You are beautiful and I love you,” Pink said to her daughter.

Oscar winner Jared Leto, who is also the frontman of rock band 30 Seconds to Mars, remembered Linkin Park’s Chester Bennington, who hanged himself in July. Leto also mentioned Chris Cornell, who hanged himself in May.

“Hear me now, you are not alone,” Leto said. “There is always a way forward. Reach out. Share your thoughts. Do not give up.”

The night also featured political moments focused on the rally in Charlottesville, Va., on Aug. 12 turned violent after Nazis and white nationalists opposed to the city’s plan to remove a statue of Confederate Gen. Robert E. Lee clashed with counterprotesters. Heather Heyer, 32, was killed when a car driven by an Ohio man plowed into a crowd.

The Rev. Robert Wright Lee IV, a descendent of Gen. Lee, told the audience: “As a pastor it is my duty to speak out against racism, America’s original sin.”

Heyer’s mother then entered the stage, telling the audience: “Only 15 days my ago, my daughter Heather was killed as she protested racism. I miss her but I know she’s here tonight.”

Bro then announced the Heather Heyer Foundation, and said the nonprofit will give out scholarships and “help more people join Heather’s fight against hatred.”

Lamar’s performance kicked off the three-hour show — hosted by a forgettable Katy Perry — followed by the premiere of Swift’s video for Look What You Made Me Do, which featured the singer dressed like a zombie in one scene and surrounded by slithering snakes in another.

Ed Sheeran performed his hit, Shape of You, and was later joined by Lil Uzi Vert. Sheeran won artist of the year, a new award established after MTV eliminated gender categories like best male and female video.

Fifth Harmony, who lost a group member last year and released their first album as a foursome last week, won best pop video for Down.

“This is honestly so unreal,” said group member Dinah Jane. “Thank you to God and thank you to our families.”