LOS ANGELES – “Glee,” the spunky TV musical comedy about high school misfits and the teachers who shepherd them, was among the top Emmy nominees Thursday with 19 bids, including for best comedy series.

The leading nominee was the gritty, unsparing World War II drama, “The Pacific,” with 24 nominations.

Conan O’Brien is gone from NBC’s “The Tonight Show” but his short tenure as host is not forgotten: The late-night show with him at the helm nabbed a nomination as best variety, music or comedy series, while resurrected Jay Leno was snubbed in the category.

Two performers with Maine ties were among the nominees. Glenn Close, who has a home on Prouts Neck in Scarborough and helped launch a Portland-based dog supply company called Fetchdog, was nominated in the category of lead actress in a drama series for her role in the FX network civil law drama “Damages.”

Tony Shalhoub, a Wisconsin native who graduated from the University of Southern Maine and got his acting start doing theater in Portland, was nominated in the category of lead actor in a comedy series for his role as an obsessive detective in the USA network show “Monk.”

Shalhoub has won three Emmys, and Close has won twice.

In her category, Close will be competing against Kyra Sedgwick of “The Closer”; Connie Britton, “Friday Night Lights”; Julianna Margulies, “The Good Wife”; Mariska Hargitay, “Law & Order: Special Victims Unit”; and January Jones, “Mad Men.”

The other nominees in Shalhoub’s category are Jim Parsons, “The Big Bang Theory”; Larry David, “Curb Your Enthusiasm”; Matthew Morrison, “Glee”; Steve Carell, “The Office”; and Alec Baldwin, “30 Rock.”

Besides “Glee,” other newcomers receiving Emmy recognition include “Modern Family,” with nods for best comedy series and for five members of its ensemble cast — although not linchpin Ed O’Neill as the patriarch — and “The Good Wife,” a nominee for best drama and recognition for its star, Margulies.

The final season of “Lost” garnered nominations for best drama series and a nod for star Matthew Fox and supporting nominations for Terry O’Quinn and Michael Emerson.

The most-nominated reality series were “Dancing with the Stars” with nine bids, “The Amazing Race” with seven and “American Idol” with six.

Jane Lynch was a double-barreled threat, with a supporting comedy actress bid for her sadistic cheerleading coach in “Glee” and a nod as guest actress for “Two and a Half Men.”

“Saturday Night Live” received 12 nominations for a total 126 nominations during its run, surpassing the “ER” all-time record of 124 bids. One of the nominations went to Betty White, who at 88 proved you’re never too old for comedy when she hosted the show to big ratings and applause.

“Mad Men” was the most-nominated drama with 17 bids. The darkly sexy 1960s period show has been honored as best drama two years in a row.

Besides “Glee” and “Modern Family,” other nominees for best comedy series include “Curb Your Enthusiasm,” “Nurse Jackie,” “The Office” and last year’s winner, “30 Rock.”

Joining “Mad Men,” “Lost” and “The Good Wife” as best drama series nominees were “Breaking Bad,” “Dexter” and first-timer “True Blood,” which overcame TV academy voter reservations about fantasy genre shows.

Big names prevailed in the made-for-TV movie category. Al Pacino’s performance as euthanasia advocate Dr. Jack Kevorkian in “You Don’t Know Jack” and the film itself were nominated, while this year’s Oscar winner Jeff Bridges was nominated for “A Dog Year.”

The most-nominated movie was “Temple Grandin,” based on the life of the animal science expert, with 15 bids, including one for star Claire Danes.

Other film actors in the TV movie honors hunt are Dennis Quaid and Hope Davis for their portrayals of Bill and Hillary Clinton in “The Special Relationship,” along with co-star Michael Sheen as British politician Tony Blair.

Bryan Cranston, last year’s best drama actor winner for “Breaking Bad,” was nominated again. He’s joined by Jon Hamm of “Mad Men,” Fox of “Lost,” Michael C. Hall of “Dexter,” Kyle Chandler of “Friday Night Lights” and Hugh Laurie of “House.”

The Emmy Awards will air Aug. 29 on NBC, with Jimmy Fallon hosting.


— Staff Writer Ray Routhier contributed to this report.