'Modern Family' has won the Emmy for Best Comedy Series.

'Modern Family' beat out CBS' "The Big Bang Theory," HBO's "Curb Your Enthusiasm," HBO's "Girls," NBC's "30 Rock" and HBO's "Veep." This is the ABC series' second win in the Outstanding Comedy series category.

The show's stars Eric Stonestreet and Julie Bowen also took home awards in the Outstanding Actor and Actress in a Comedy Series categories, and director Steve Levitan won for Best Director in a Comedy Series.

"We feel so lucky not only to have jobs in these talented times, but to have jobs we love with people we love," Levitan said in his acceptance speech. "Thank you to all of our friends."

Loading Slideshow...
  • Eric Stonestreet - Outstanding Supporting Actor in a Comedy Series

    Eric Stonestreet accepts the award for outstanding supporting actor in a comedy series for "Modern Family" at the 64th Primetime Emmy Awards at the Nokia Theatre on Sunday, Sept. 23, 2012, in Los Angeles. (Photo by John Shearer/Invision/AP)

  • Louis C.K - Outstanding Writing for a Comedy Series

    Actor/writer Louis CK accepts Outstanding Writing for a Comedy Series award for "Louie" onstage during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Julie Bowen - Outstanding Supporting Actress in a Comedy Series

    Actress Julie Bowen speaks onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Lester Cohen/WireImage)

  • Steven Levitan - Outstanding Directing in a Comedy Series

    Director Steven Levitan poses in the press room with his Outstanding Directing award at the 64th annual Prime Time Emmy Awards at the Nokia Theatre at LA Live in Los Angeles, California September 23, 2012.

  • Jon Cryer - Outstanding Lead Actor in a Comedy Series

    Jon Cryer, winner of Outstanding Lead Actor in a Comedy Series poses in the press room during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Kevork Djansezian/Getty Images)

  • Julia Louis-Dreyfus - Outstanding Lead Actress in a Comedy Series

    Actress Julia Louis-Dreyfus in the press room at the 64th annual Prime Time Emmy Awards at the Nokia Theatre at LA Live in Los Angeles, California September 23, 2012. Louis-Dreyfus won Outstanding Lead Actress for her role in Veep.

  • Tom Bergeron - Outstanding Hot for a Reality Program

    Television host Tom Bergeron, winner Outstanding Host for a Reality or Reality-Competition Program for "Dancing with the Stars," poses in the press room during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Kevork Djansezian/Getty Images)

  • "The Amazing Race" - Outstanding Reality-Competition

    (L-R) Producers Jerry Bruckheimer, Elise Doganieri, Bertram van Munster and Jonathan Littman, winners Outstanding Reality-Competition Program for "The Amazing Race," pose in the press room during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Aaron Paul - Outstanding Supporting Actor in a Drama Series

    Actor Aaron Paul accepts Outstanding Supporting Actor in a Drama Series award for "Breaking Bad" onstage during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • "Homeland" - Outstanding Writing for a Drama Series

    (L-R) Writers Gideon Raff, Howard Gordon and Alex Gansa accept Outstanding Writing for a Drama Series award for "Homeland" onstage during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Damian Lewis - Outstanding Lead Actor in a Drama Series

    Damian Lewis poses in the press room with his Outsanding Lead Actor in "Homeland" at the 64th annual Prime Time Emmy Awards at the Nokia Theatre at LA Live in Los Angeles, California September 23, 2012.

  • Claire Danes - Outstanding Actress in a Drama Series

    Actress Claire Danes speaks onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Lester Cohen/WireImage)

  • Louis C.K. - Outstanding Writer for a Variety Show

    Actor Louis C.K. speaks onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • "The Daily Show" - Outstanding Variety Series

    TV Personality Jon Stewart and cast of crew of The Daily Show accept their award onstage during the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Jessica Lange - Outstanding Supporting Actress in a Miniseries or Movie

    Actress Jessica Lange accepts Outstanding Supporting Actress in a Miniseries or a Movie award for "American Horror Story" onstage during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Tom Berenger - Outstanding Supporting Actor in a Miniseries or Movie

    Actor Tom Berenger onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Julianne Moore - Outstanding Lead Actress in a Miniseries or Movie

    LOS ANGELES, CA - SEPTEMBER 23: Actress Julianne Moore accepts Outstanding Lead Actress in a Miniseries or a Movie for "Game Change" onstage during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Glenn Weiss - Outstanding Directing for a Variety, Music, or Comedy Special

    Director Glenn Weiss accepts the Outstanding Directing for a Variety, Music, or Comedy Special Award for 65th Tony Awards during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Jay Roach - Outstanding Directing in a Miniseries or Movie

    Director Jay Roach speaks onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Kevin Costner - Outstanding Actor in a Miniseries or Movie

    Actor Kevin Costner speaks onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • Danny Strong - Outstanding Writing in a Miniseries or Movie

    Writer Danny Strong poses in the press room at the 64th annual Prime Time Emmy Awards at the Nokia Theatre at LA Live in Los Angeles, California September 23, 2012. Strong won for Outstanding Writing Miniseries or Movie for Game Change. The movie won the Emmy for Outstanding Miniseries or Movie.

  • "Game Change" - Outstanding Miniseries or Movie

    Producer Tom Hanks accepts Outstanding Miniseries or TV Movie award for "Game Change" onstage during the 64th Annual Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • "Homeland" - Outstanding Drama Series

    Cast and crew of Homland accept their award onstage during the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

  • "Modern Family" - Outstanding Comedy series

    Producer Steve Levitan (holding award) and cast and crew of 'Modern Family' speak onstage at the 64th Primetime Emmy Awards at Nokia Theatre L.A. Live on September 23, 2012 in Los Angeles, California.

Related on HuffPost: