Julia Louis-Dreyfus took home the Emmy for Best Actress in a Comedy Series for HBO's "Veep" at the 64th annual awards ceremony.

The "Veep" star beat out "Girls" star Lena Dunham, "Parks and Recreation's" Amy Poehler, "30 Rock" star Tina Fey, "Nurse Jackie's" Edie Falco, "New Girl" star Zooey Deschanel and last year's winner Melissa McCarthy of "Mike & Molly."

This is Louis-Dreyfus' 13th nomination -- which tied her with comedy legend Lucille Ball -- and third win, having previously taken home Emmys for her work on "Seinfeld" and "The New Adventures of Old Christine."

Louis-Dreyfus couldn't accept her award without a having a little fun with her speech, though. "First of all, I'd like to thank NBC, 'Parks and Rec,' my beautiful boys, Archie and Abel ..." she stammered, before the cameras cut to fellow nominee Amy Poehler, who then ran the correct speech up on stage to Louis-Dreyfus.

Louis-Dreyfus then praised her "talented and powerful and funny" fellow nominees before joking about her freshman comedy hit. "At the same time, it's a bit mystifying to me because people say that this show is a comedy, and yet I don't see anything funny about me being Vice President of the United States," she said, before thanking her castmates and "the genius behind the show" Armando Iannucci.

Her speech ended with one last thing written in: "Lastly isn't a shame that Amy Poehler didn't win. What?" Cue cameras cutting to Poehler again, pencil in hand, nodding in agreement.

Check out our Emmys live blog here for all the latest from the show.

Loading Slideshow...
  • Lena Dunham

    "I can't tell you exactly what's going on. It would be a spoiler alert. It involves sex, sharp objects ..." -- Lena Dunham to Ryan Seacrest after he showed a pantsless on-set photo of her from "Girls"

  • Jimmy Fallon

    "I'm just happy to be alive, I gotta be honest. Amanda Bynes gave me a ride over." -- Jimmy Fallon joking on the E! red carpet

  • Jon Cryer

    "We started as sort of hunched-over cavemen, now we are two and a half fully erect men." -- Jon Cryer on the evolution of "Two and a Half Men," to Ryan Seacrest on the E! red carpet

  • Kat Dennings

    "No matter what I do, they're there, so what are you gonna do?" -- "2 Broke Girls" star Kat Dennings on her, um, <em>assets</em> on the E! red carpet

  • Aziz Ansari

    "Outstanding Baby in a Drama or Miniseries, because there's some great baby work. On 'Mad Men,' Baby Gene, Baby Holly on 'Breaking Bad,' there's some great baby dragons on 'Game of Thrones.'" -- "Parks and Recreation" funnyman Aziz Ansari on the new Emmys category he'd like to see

  • Jesse Tyler Ferguson

    "You're gonna lose five pounds tonight. Not that you need to." -- Ryan Seacrest to "Modern Family" star Jesse Tyler Ferguson on E!'s red carpet pre-show

  • Julianne Hough

    "How incredibly romantic is Seacrest?" -- Giuliana Rancic asking Julianne Hough, Ryan Seacrest's girlfriend, a question that Seacrest asked her to ask on the E! red carpet

  • Bob Odenkirk

    "People like a reason to take off their pants." -- Bob Odenkirk on why shock-your-pants-off "Breaking Bad" is so great, on ABC's red carpet pre-show

  • Host Jimmy Kimmel

    "If you're going to the HBO after-party, don't eat the sliders." -- host Jimmy Kimmel joking about the network's drama "Luck," which was canceled after several horse-related incidents on set

  • Julie Bowen

    "My job really amounts to me falling down and making faces while wearing lipstick and nipple covers." -- Julie Bowen, accepting her award for Best Supporting Actress in a Comedy Series the second year in a row

  • Louis C.K.

    "Well, I won an Emmy just now ..." -- Louis C.K., accepting his award for Outstanding Writing for a Comedy Series

  • Seth MacFarlane

    "This is what happens when you don't come to rehearsal." -- presenter Seth MacFarlane, in his best Stewie voice from "Family Guy," after not realizing where the microphones were on stage

  • Tom Bergeron

    "This is particularly satisfying since Betty White always kicks my ass in our mixed martial arts class." -- Tom Bergeron, accepting his award for Outstanding Reality Competition Host

  • Aaron Paul

    "Thank you so much for not killing me off." -- Aaron Paul to Vince Gilligan and the "Breaking Bad" writers, accepting his award for Best Supporting Actor in a Drama Series

  • Claire Danes

    "Mandy Patinkin: Holla!" -- Claire Danes giving a shout-out to her "Homeland" costar as she accepted the award for Best Actress in a Drama Series

  • Ricky Gervais

    "If he wins this, he's a better comedian than me. If not ... we'll see." -- Ricky Gervais listing Louis C.K. among the nominees for Best Variety Special Directing (C.K. did not end up winning)

  • Jon Stewart

    "We were told we get a free sandwich after 10. But we don't." -- Jon Stewart after taking the stage to accept his Best Variety Series award for "The Daily Show" for the 10th year in a row

  • Kevin Costner

    "I just have to say that, looking at this thing, it reminds me a little bit of the Olympics, you know, the Olympic sports in London. But it doesn't seem like much of a sport, you know, this trophy here." -- Kevin Costner on his Emmy statue, in a bizarre tangent during his speech for Best Actor in a Miniseries

  • Jimmy Kimmel

    "Am I nuts or does that guy in the mustache look just like Tom Hanks?" -- host Jimmy Kimmel joking after Tom Hanks accepted the win for "Game Change" in the Miniseries category

Earlier on HuffPost: