The Emmys said goodbye to Game of Thrones and ushered in a new TV queen as Phoebe Waller-Bridge took Los Angeles by storm with three award wins.
The British writer and actress won for writing and starring in Fleabag, but then defied pre-award night predictions when the BBC show was announced as the outstanding comedy.
That win denied Veep a dream farewell, and Waller-Bridge also beat off Veep star Julia Louis-Dreyfuss for the Outstanding Lead Actress in a Comedy Series award. The six-time winner had been odds-on favourite to win for her final season in the political satire.
Taking to the stage, standing in disbelief, Waller-Bridge said: "This is just getting ridiculous."
Ireland's Fiona Shaw, meanwhile, left the Microsoft Theater empty-handed despite being nominated in two categories, losing out to Jane Lynch for the Guest actress in a comedy series award, and to Ozark's Julia Garner for Supporting actress in a drama series.
The latter nomination was for her role in Killing Eve, but her co-star Jodie Comer won the award for lead actress in a drama, for her portrayal of the psycho Villeneuve.
During her acceptance speech, Liverpool-born Comer revealed her parents were back home because she did not invite them to Los Angeles, believing she would lose against the likes of her Killing Eve co-star Sandra Oh.
Game Of Thrones went out on a high at the biggest night in US television, defying the middling critical response to its eighth and final season to win outstanding drama series, the most prestigious Emmy of all.
HBO's sprawling fantasy epic won the gong for the fourth time, putting it in hallowed company alongside Hill Street Blues, LA Law, The West Wing and Mad Men.
It wasn't a great night overall for the show, as in the individual categories its stars were largely snubbed, with only Peter Dinklage winning.
He signed off with a win for his memorable portrayal of Machiavellian dwarf Tyrion Lannister, the fourth time the TV academy has recognised him for the character in the category of supporting actor in a drama series.
He won ahead of his co-stars Alfie Allen and Nikolaj Coster-Waldau.
Meanwhile, a tearful Billy Porter made history as the first openly gay black man to win outstanding lead actor in a drama series.
The Pose star - who celebrated his 50th birthday on Saturday - received a standing ovation while picking up the prize.
He won ahead of Game Of Thrones' Kit Harrington, Ozark's Jason Bateman, Better Call Saul's Bob Odenkirk and Milo Ventimiglia from This Is Us.
Gritty historic drama Chernobyl enjoyed a successful evening, winning three prizes, including best director in a limited series for Johan Renck, outstanding writing for creator Craig Mazin and the overall outstanding limited series.
US pop star Halsey performed the in memoriam section, singing Cyndi Lauper's Time After Time in tribute to stars including John Singleton, Cameron Boyce and Arte Johnson, who died in the last 12 months.
The 71st Primetime Emmy Awards took place at the Microsoft Theater in Los Angeles. The ceremony can be seen tonight on Sky One at 11pm.