TV

‘Frasier’ alum David Hyde Pierce joins cast of ‘The Good Wife’

Former “Frasier” star David Hyde Pierce, who played persnickety Niles Crane, will return to series TV for a recurring role on “The Good Wife,” which kicks off its sixth season this fall on CBS.

It’s Pierce’s first series role since “Frasier” ended its 11-season run in 2004 on NBC.

On “The Good Wife” — for which star Juliana Margulies won an Emmy Monday night — Pierce will play “a highly respected cable news legal commentator” who’s so outraged at the corruption and murder rate in Chicago “that he decides to run for office in order to affect change,” according to CBS.

Pierce won four Emmys for his work on “Frasier” opposite co-star Kelsey Grammer, appeared in “Monty Python’s Spamalot” and “Curtains” on Broadway — for which he won a Tony — and will make his Broadway directorial debut next spring with “It Shoulda Been You.”