Gritty medical drama "The Pitt" and inter-generational comedy "Hacks" on Wednesday topped the nominations for the Emmys, television's equivalent of the Oscars. "The Pitt" racked up 25 nominations including one for best drama, while the fifth and final season of "Hacks" earned 24 nominations including one for best comedy.“The Pitt” is the leading nominee at the upcoming Emmy Awards, with numerous actors who play doctors on the drama series snagging nominations.“Hacks,” another HBO series, got the second most nominations when the Emmy nominations were announced Wednesday in Los Angeles.On Tuesday, NBC announced that “Law & Order: Special Victims Unit” star Mariska Hargitay will host the Sept. 14 ceremony.Drama series“The Diplomat”; “The Gilded Age”; “A Knight of the Seven Kingdoms”; “Paradise”; “The Pitt”; “Pluribus”; “Slow Horses”; “Your Friends & Neighbors”Comedy series“Abbott Elementary”; “The Bear”; “Hacks”; “Margo’s Got Money Troubles”; “Nobody Wants This”; “Only Murders in the Building”; “Shrinking”; “Widow’s Bay”Limited series, anthology series or movie“All Her Fault”; “The Beast in Me”; “Beef”; “DTF St. Louis”; “Love Story: John F. Kennedy Jr. & Carolyn Bessette”Drama actorSterling K. Brown, “Paradise”; Gary Oldman, “Slow Horses”; Mark Ruffalo, “Task”; Rufus Sewell, “The Diplomat”; Noah Wyle, “The Pitt”Drama actressCarrie Coon, “The Gilded Age”; Chase Infiniti, “The Testaments”; Keri Russell, “The Diplomat”; Rhea Seehorn, “Pluribus”; Zendaya, “Euphoria”Supporting actor drama seriesPatrick Ball, “The Pitt”; Billy Crudup, “The Morning Show”; Shawn Hatosy, “The Pitt”; Gerran Howell, “The Pitt”; Jack Lowden, “Slow Horses”; Tom Pelphrey, “Task”; Carlos-Manuel Vesga, “Pluribus”Supporting actress drama seriesTaylor Dearden, “The Pitt”; Fiona Dourif, “The Pitt”; Allison Janney, “The Diplomat”; Katherine LaNasa, “The Pitt”; Sepideh Moafi, “The Pitt”; Julianne Nicholson, “Paradise”; Karolina Wydra, “Pluribus”Comedy actorYahya Abdul-Mateen II, “Wonder Man”; Steve Carell, “Rooster”; Matthew Rhys, “Widow’s Bay”; Jason Segel, “Shrinking”; Martin Short, “Only Murders in the Building”Comedy actressQuinta Brunson, “Abbott Elementary”; Ayo Edebiri, “The Bear”; Elle Fanning, “Margo’s Got Money Troubles”; Lisa Kudrow, “The Comeback”; Jean Smart, “Hacks”Supporting actor comedy seriesColman Domingo, “The Four Seasons”; Paul W. Downs, “Hacks”; Harrison Ford, “Shrinking”; Nick Offerman, “Margo’s Got Money Troubles”; Stephen Root, “Widow’s Bay”; Michael Urie, “Shrinking”; Tyler James Williams, “Abbott Elementary”Supporting actress comedy seriesDale Dickey, “Widow’s Bay”; Hannah Einbinder, “Hacks”; Janelle James, “Abbott Elementary”; Kate O’Flynn, “Widow’s Bay”; Michelle Pfeiffer, “Margo’s Got Money Troubles”; Megan Stalter, “Hacks”; Jessica Williams, “Shrinking”Lead actor limited series, anthology series or movieRiz Ahmed, “Bait”; Jason Bateman, “Black Rabbit”; Charlie Hunnam, “Monster: The Ed Gein Story”; Oscar Isaac, “Beef”; Matthew Rhys, “The Beast in Me”Lead actress limited, anthology series or movieClaire Danes, “The Beast in Me”; Sally Field, “Remarkably Bright Creatures”; Carey Mulligan, “Beef”; Sarah Pidgeon, “Love Story: John F. Kennedy Jr. & Carolyn Bessette”; Sarah Snook, “All Her Fault”Supporting actor limited, anthology series or movieJason Bateman, “DTF St. Louis”; Richard Gadd, “Half Man”; David Harbour, “DTF St. Louis”; Richard Jenkins, “DTF St. Louis”; Charles Melton, “Beef”; Nick Offerman, “Death by Lightning”Supporting actress limited, anthology series or movieLinda Cardellini, “DTF St. Louis”; Dakota Fanning, “All Her Fault”; Laurie Metcalf, “Monster: The Ed Gein Story”; Joy Sunday, “DTF St. Louis”; Youn Yuh-jung, “Beef”; Constance Zimmer, “Love Story: John F. Kennedy Jr. & Carolyn Bessette”