He played Frasier Crane’s persnickety brother for 11 seasons, and now Frasier“s David Hyde Pierce will be returning to TV with a juicy new role in The Good Wife.

RELATED: The Ultimate “Good Wife’ Viewing Menu (Food Network)

CBS announced this morning that the former Niles Crane has signed on for a six-episode recurring role as “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.”; This guest-starring role will mark the actor’s first appearance on a TV series since Frasier ended in 2004.

“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 in a statement. “We’re tremendous fans of his dramatic skills as well as his comedy.”;

David Hyde Pierce will make his first appearance in this season’s seventh episode.

The Good Wife returns for its sixth season on Sunday, Sept. 21 on Global.