A list of winners at Sunday's MTV Video Music Awards, which aired live from the Barclays Center in Brooklyn, N.Y.
Video of the year: Justin Timberlake, "Mirrors"
Best female video: Taylor Swift, "I Knew You Were Trouble."
Best male video: Bruno Mars, "Locked Out of Heaven"
Best pop video: Selena Gomez, "Come & Get It"
Best hip-hop video: Macklemore & Ryan Lewis featuring Ray Dalton, "Can't Hold Us"
Best rock video: Thirty Seconds to Mars, "Up In the Air"
Best collaboration: Pink and Nate Ruess of fun., "Just Give Me a Reason"
Best video with a social message: Macklemore & Ryan Lewis featuring Mary Lambert, "Same Love"
Best song of the summer: One Direction, "Best Song Ever"
Artist to watch: Austin Mahone, "What About Love"
Michael Jackson Video Vanguard Award: Justin Timberlake
Best direction: Justin Timberlake's "Suit & Tie" (director David Fincher)
Best visual effects: Capital Cities, "Safe and Sound"
Best choreography: Bruno Mars, "Treasure"
Best art direction: Janelle Monae featuring Erykah Badu, "Q.U.E.E.N."
Best cinematography: Macklemore & Ryan Lewis featuring Ray Dalton, "Can't Hold Us"
Best editing: Justin Timberlake, "Mirrors"
NEW YORK - Suddenly, the MTV Video Music Awards are all about Justin Timberlake.
Timberlake took over the awards Sunday night, wrestling the spotlight away from a rehabilitated Lady Gaga, an X-rated Miley Cyrus and a vengeful Taylor Swift with a medley of hits and the rumored reunion with former boy band mates 'N Sync.
Timberlake -- the night's top nominee with early leader Macklemore & Ryan Lewis -- also was given the Michael Jackson Video Vanguard Award by Jimmy Fallon.
"I don't deserve the award, but I'm not going to give it back," Timberlake said. "I'm taking this home."
Timberlake, dressed in a black suit and black hat with a red feather, powered through a breathless series of solo hits before the other four members of 'N Sync -- JC Chasez, Chris Kirkpatrick, Joey Fatone, and Lance Bass -- joined him on stage, opening with "Bye Bye Bye."
"Half of the moonmen I've ever won, I won with those four guys right there," Timberlake said pointing at his former band mates while holding the Vanguard trophy. "So above all else, I'm going to share this -- we can keep it my house -- but I'm going to share this award with them."
Up till then, the ladies of pop music dominated as Cyrus became the rare artist to upstage Lady Gaga. But Swift managed to take the spotlight from both after appearing to utter an expletive when One Direction and rumored former love interest Harry Styles appeared at Sunday night's award show -- a moment that lit up Twitter and was memorialized immediately in a GIF online.
She also thanked a former beau for helping her win another moonman trophy for "I Knew You Were Trouble" in the best female video category.
"I also want to thank the person who inspired this song, who knows exactly who he is, because I got one of these," Swift said. "Thank you so much!"
Gaga changed costumes four times during her first return to the stage since hip surgery as she performed her new single "Applause" at the top of the show. It was a predictably unpredictable appearance for Gaga, who seemed to pump in boos over the over the sound system as she opened the song in a white nun's habit and square headdress.
By the time she finished the song, she was surrounded by unitard-clad male dancers and wearing a thong bikini decorated in shells and a long blonde wig.
Cyrus immediately kicked things up well beyond provocative, however, as she appeared on stage with a multitude of dancing teddy bears in a bodysuit adorned with a cartoon character. She twerked to her song "We Can't Stop," changed into a nude bikini, ran a fan's foam finger along her privates as Robin Thicke appeared on stage to perform "Blurred Lines," then gave the singer a lap dance.
"Miley better go get a pregnancy test after all that grinding," comedian Kevin Hart joked afterward.
Kanye West continued his stark portrayal of new music from his album "Yeezus," performing "Blood on the Leaves" with its controversial Nina Simone "Strange Fruit" sample in silhouette in front of a black and white picture of a tree.
Macklemore & Ryan Lewis were the early leaders, taking best hip-hop video for "Thrift Shop" and best video with a social message for their song "Same Love," which espouses marriage equality.
"Gay rights are human rights," Macklemore said during the telecast. "There is no separation."
Other early winners included Pink and Nate Ruess for best collaboration, Thirty Seconds to Mars for best rock video and Selena Gomez for best pop video. And Swift wasn't the only one with a strong reaction to One Direction -- cheers mixed with boos as they won song of the summer for "Best Song Ever."