Emmys are coming for HBO: The network had a huge night at Sunday's67th Primetime Emmy Awards., taking the top prizes for Game of Thrones, Veep and Olive Kitteridge, while Jon Hamm finally won his first Emmy.

Game of Thrones won four awards: drama series, supporting actor for 2011 winner Peter Dinklage, writing and directing for "Mother's Mercy." Counting its eight wins last week at the Creative Arts Emmys, it set a record for the most wins by a show in a single year, beating The West Wing's nine awards in 2000. Thrones is the second HBO show to win drama series after The Sopranos, which won its first series statuette for its fifth season as well.

Veep also won four awards: comedy series, actress for Julia Louis-Dreyfus,supporting actor for Tony Hale, who won two years ago, and writing. It joins fellow HBO series Sex and the City as the only non-broadcast shows to win comedy series and denied five-time defending champion Modern Family a historic six-peat.

Louis-Dreyfus became the first to four-peat in comedy actress since Helen Hunt did it from 1996-99. She is now the third to win the category five times after Mary Tyler Moore and Candice Bergen and has six career Emmys, tying Art Carney, Tim Conway, Tyne Daly and Carl Reiner.

On the other end of the spectrum, Hamm won his first Emmy for drama actor after eight tries. The Mad Men star gave the show its first Emmy win in any category in four years and its first - and now only - acting win (its record is now 1-36).

In drama actress, Viola Davis (How to Get Away with Murder) became the first black actress to win the award. She and fellow nominee Taraji P. Henson were only the sixth and seven black actresses to be nominated.

See all the Emmy red carpet arrivals

Allison Janney took home the first award of the night and her second straight in comedy supporting actress award for Mom, bringing her career total to seven. She has now tied Ed Asner and Mary Tyler Moore for the second-most acting wins behind Cloris Leachman's record eight.

On his seventh nomination, Jeffrey Tambor earned his first Emmy for comedy actor for Transparent. The show's creator, Jill Soloway, won comedy directing for the pilot.

Olive Kitteridge swept the limited series/movie races, taking home six trophies, including limited series and acting awards for Frances McDormand, Richard Jenkins and Bill Murray. Regina King won supporting actress in a limited series for American Crime.

Other winners include The Daily Show with Jon Stewart, which closed its run with three wins including its 11th award for variety talk series, Inside Amy Schumer for variety sketch series and The Voice for reality-competition program for the second time.

See the full list of winners below.

Drama Series: Game of Thrones

Comedy Series: Veep

Lead Actor in a Drama Series: Jon Hamm, Mad Men

Lead Actress in a Drama Series: Viola Davis, How to Get Away with Murder

Supporting Actor in a Drama Series: Peter Dinklage, Game of Thrones

Supporting Actress in a Drama Series: Uzo Aduba,Orange Is the New Black

Directing for a Drama Series: David Nutter, Game of Thrones, "Mother's Mercy"

Writing for a Drama Series: David Benioff and D.B. Weiss, Game of Thrones, "Mother's Mercy"

Lead Actor in a Comedy Series: Jeffrey Tambor, Transparent

Lead Actress in a Comedy Series: Julia Louis-Dreyfus, Veep

Supporting Actor in a Comedy Series: Tony Hale, Veep

Supporting Actress in a Comedy Series: Allison Janney, Mom

Directing for a Comedy Series: Jill Soloway, Transparent, "Best New Girl"

Writing for a Comedy Series: Simon Blackwell, Armando Iannucci and Tony Roche, Veep, "Election Night"

Limited Series: Olive Kitteridge

Actor in a Limited Series or Movie: Richard Jenkins, Olive Kitteridge

Actress in a Limited Series or Movie: Frances McDormand, Olive Kitteridge

Supporting Actor in a Limited Series or Movie: Bill Murray, Olive Kitteridge

Supporting Actress in a Limited Series or Movie: Regina King, American Crime

Directing for a Limited Series, Movie or Dramatic Special: Lisa Cholodenko, Oliver Kitteridge

Writing for a Limited Series, Movie or Dramatic Special: Jane Anderson, Oliver Kitteridge

Reality-Competition Program: The Voice

Variety Talk Series: The Daily Show with Jon Stewart

Variety Sketch Series: Inside Amy Schumer

Directing for a Variety Series: Chuck O'Neil, The Daily Show with Jon Stewart, "Episode 20103"

Writing for a Variety Series: The Daily Show with Jon Stewart