Jon Hamm, Connie Britton

Mad Men and American Horror Story topped the Primetime Emmy Awards nominations Thursday with 17 each, while a slew of freshmen faces enter the field.

Mad Men will aim for an unprecedented five-peat in Best Drama Series, which would also give it the most wins in the category. It is up against Boardwalk Empire, Breaking Bad, Downton Abbey, Game of Thrones and Homeland.

Downton and miniseries Hatfields & McCoys followed with 16 nods, while breakout hit Homeland scored eight, including nods for leads Damian Lewis and Claire Danes.

Jimmy Kimmel to host Emmy Awards

Horror Story, which entered in the TV series/miniseries race, is up against Game Change, Hatfields & McCoys, Luther, Hemingway & Gellhorn and Sherlock: Scandal in Belgravia.

Two-time defending comedy series champ Modern Family, which earned 14 nods, will vie for a three-peat against three-time champ 30 Rock, The Big Bang Theory, Curb Your Enthusiasm and new series Girls and Veep.

Girls' and Veep's lead stars Lena Dunham and Julia Louis-Dreyfus also nabbed lead comedy actress nods. Joining them are fellow newbie Zooey Deschanel (New Girl), defending champ Melissa McCarthy (Mike & Molly), past champs Edie Falco (Nurse Jackie), Tina Fey (30 Rock) and Amy Poehler (Parks and Recreation).

Among the snubs were American Idol in reality-competition series and House's Hugh Laurie — in his final year — for lead drama actor.

Check out the nominations below.

The 64th Primetime Emmy Awards, hosted by Jimmy Kimmel ,will air Sunday, Sept. 23 at 8 p.m. ET/5 p.m. PT on ABC.

Drama Series
Boardwalk Empire
Breaking Bad
Downton Abbey
Game of Thrones
Mad Men

Comedy Series
The Big Bang Theory
Curb Your Enthusiasm
Modern Family
30 Rock

Lead Actor in a Drama Series

Hugh Bonneville, Downton Abbey
Steve Buscemi, Boardwalk Empire
Bryan Cranston, Breaking Bad
Michael C. Hall, Dexter
Jon Hamm, Mad Men
Damian Lewis, Homeland

Lead Actress in a Drama Series

Kathy Bates, Harry's Law
Glenn Close, Damages
Claire Danes, Homeland
Michelle Dockery, Downton Abbey
Julianna Margulies, The Good Wife
Elisabeth Moss, Mad Men

Supporting Actor in a Drama Series
Jim Carter, Downton Abbey
Brendan Coyle, Downton Abbey
Peter Dinklage, Game of Thrones
Giancarlo Esposito, Breaking Bad
Jared Harris, Mad Men
Aaron Paul, Breaking Bad

Supporting Actress in a Drama Series

Christine Baranski
, The Good Wife
Joanne Froggatt, Downton Abbey
Anna Gunn, Breaking Bad
Christina Hendricks, Mad Men
Archie Panjabi, The Good Wife
Maggie Smith, Downton Abbey

Lead Actor in a Comedy Series

Alec Baldwin
, 30 Rock
Don Cheadle, House of Lies
Louis C.K., Louie
Jon Cryer, Two and a Half Men
Larry David, Curb Your Enthusiasm
Jim Parsons, The Big Bang Theory

Lead Actress in a Comedy Series

Zooey Deschanel, New Girl
Lena Dunham, Girls
Edie Falco, Nurse Jackie
Tina Fey, 30 Rock
Julia Louis-Dreyfus, Veep
Melissa McCarthy, Mike & Molly
Amy Poehler, Parks and Recreation

Supporting Actor in a Comedy Series
Ty Burrell, Modern Family
Jesse Tyler Ferguson, Modern Family
Max Greenfield, New Girl
Bill Hader, Saturday Night Live
Ed O'Neill, Modern Family
Eric Stonestreet, Modern Family

Supporting Actress in a Comedy Series
Mayim Bialik, The Big Bang Theory
Julie Bowen, Modern Family
Kathryn Joosten, Desperate Housewives
Sofia Vergara, Modern Family
Merritt Wever, Nurse Jackie
Kristen Wiig, Saturday Night Live

TV Movie/Miniseries
American Horror Story
Game Change
Hatfields & McCoys

Hemingway & Gellhorn
Sherlock: Scandal in Belgravia

Actor in a TV Movie/Miniseries
Kevin Costner, Hatfields & McCoys
Benedict Cumberbatch, Sherlock: Scandal in Belgravia
Idris Elba, Luther
Woody Harrelson, Game Change
Clive Owen, Hemingway & Gellhorn
Bill Paxton, Hatfields & McCoys

Actress in a TV Movie/Miniseries
Connie Britton, American Horror Story
Ashley Judd, Missing
Nicole Kidman
, Hemingway & Gellhorn
Julianne Moore, Game Change
Emma Thompson, The Story of Lunch

Supporting Actor in a TV Movie/Miniseries
Tom Berenger, Hatfields & McCoys
Martin Freeman, Sherlock: Scandal in Belgravia
Ed Harris, Game Change
Denis O'Hare, American Horror Story
David Strathairn, Hemingway & Gellhorn

Supporting Actress in a TV Movie/Miniseries

Frances Conroy, American Horror Story
Judy Davis, Page Eight
Jessica Lange, American Horror Story
Sarah Paulson, Game Change
Mare Winningham, Hatfields & McCoys

Reality-Competition Program
The Amazing Race
Dancing with the Stars
Project Runway
So You Think You Can Dance
Top Chef
The Voice

Reality Host
Tom Bergeron, Dancing with the Stars
Cat Deeley, So You Think You Can Dance
Phil Keoghan, The Amazing Race
Ryan Seacrest, American Idol
Betty White, Betty White's Off Their Rockers

Variety, Music or Comedy Series
The Colbert Report
The Daily Show with Jon Stewart
Jimmy Kimmel Live!
Late Night with Jimmy Fallon

Real Time with Bill Maher
Saturday Night Live