Updated

Marking his first TV role since “Frasier” ended in 2004, David Hyde Pierce has been cast in a recurring role in the sixth season of the CBS drama “The Good Wife.”

He will play a highly respected cable news legal commentator who is so disgusted by the corruption and murder rate in Chicago that he decides to run for office in order to affect change.

“We couldn’t be more thrilled and flattered that David’s making ‘The Good Wife’ his first TV role since 'Frasier,'" said executive producers-showrunners Robert and Michelle King. “We’re tremendous fans of his dramatic skills as well as his comedy.”

“The Good Wife” is known for its high pedigree of talent, often drawing in theater veterans like Pierce — including Alan Cumming, who has two Emmy Award nominations for his role of Eli Gold and Christine Baranski, who has five Emmy Award nominations for her role as Diane Lockhart. Julianna Margulies, the show’s star, received the Emmy Award for lead actress in a drama series at Monday’s ceremony.

The show is produced by Scott Free Productions and King Size Productions in association with CBS Television Studios. Ridley Scott, Robert King, Michelle King, Brooke Kennedy, David W. Zucker, Ted Humphrey, Keith Eisner, Leonard Dick and Craig Turk are executive producers. It returns for to CBS at 9:30 p.m. Sept. 21.