LOS ANGELES (CBSMiami) – There’s a new “friend” heading to the CBS drama “The Good Wife.”

Actor Matthew Perry has been cast in a recurring role on the hit legal drama, CBS has announced.

He’ll play “an extremely charming Chicago attorney” with possible shady motives.

His first episode will air Sunday, March 25th.

Perry’s character, Mike, is “tasked with heading up a blue-ribbon panel that’s investigating a suspicious police shooting.”

Series star Julianna Margulies’ character, Alicia, “begins to question the actions he is taking as the chairman” after being assigned to the panel.

Perry’s most recent regular TV gigs were the short-lived ABC sitcom “Mr. Sunshine,” which ran from February to April 2011, and the Aaron Sorkin-penned “Studio 60 on the Sunset Strip,” which ran from September 2006 to June 2007.