Modern Family won the Emmy award Sunday night for Outstanding Comedy Series.

The show received 12 nominations this year. Fellow nominees were 30 Rock, The Big Bang Theory, Girls, Louie, Modern Family, Veep.

The entire cast went up on stage to accept the award. Speaking on behald of the group, the show's creator, Steven Levitan, talked about "how surreal this ride has been because none of us grew up feeling like winners." He thanked bullies, people of who made fun of them and singled out all the gym teachers "who made fun of the way we ran....without you we would've never went into comedy."

ABC's Modern Family tells the tale of three different, but related families that face daily trials and tribulations. The show stars Ed O'Neill, Sofia Vergara, Julie Bowen, Ty Burrell, Jesse Tyler Ferguson and Eric Stonestreet.

The series 30 Rock first aired in 2006. It is about Tina Fey's character Liz Lemon, head writer of the sketch comedy show "TGS with Tracy Jordan", who must deal with an arrogant boss and a crazy new star, all while trying to run a successful TV show.

The Big Bang Theory premiered in 2007 and stars Johnny Galecki, Jim Parsons, Kaley Cuoco and Simon Helberg. The show follows a woman (Cuoco) who moves into an apartment across the hall from two brilliant but socially awkward physicists. She tries to show them how little they know about life outside of the books and their laboratory.

The HBO series Girls follows a group of girls in their early 20s and their different experiences. The FX sitcom Louie premiered in 2010 and follows Louie's everyday ordeals, including his quest to find love.

HBO's Veep centers on former Senator Selina Meyer (Julia Louis-Dreyfus) who is now vice president of the United States and finds it to be nothing like she expected.

CBS' How I Met Your Mother actor Neil Patrick Harris hosted the Emmy Awards on Sunday for the second time.

The list of Emmy presenters included Will Arnett, Alec Baldwin, Andre Braugher, Diahann Carroll, Bryan Cranston, Claire Danes, Emily Deschanel, Zooey Deschanel, Anna Faris, Heidi Klum, Queen Latifah, Jon Hamm, Tina Fey, Allison Janney, Jimmy Kimmel, Margo Martindale, Sofia Vergara, and Kerry Washington.

The Primetime Emmys devoted a special segment to memorializing five significant people who died over the past TV season: actors James Gandolfini, Cory Monteith, Jean Stapleton, Jonathan Winters and producer David Goldberg.