Archie Panjabi has taken on her first TV role since her exit from The Good Wife in season 6.

Showrunners Dish About Kalinda's Replacement In Season 7  

TVLine reported that Panjabi is set to guest star in season 3 of Brooklyn Nine-Nine. According to the report she will be playing "Lieutenant Knox, a police officer who has her eye on Joe Lo Truglio's Detective Boyle."

The actress will make this appearance in the second episode of season 3, which will air on Oct. 4.

A New Romance To Spark For Alicia In Season 7?  

In an interview, Panjabi, who played Kalinda in The Good Wife, talked about how fans' reaction to her exit was surprising for her.

People magazine caught up with Panjabi while she was promoting her latest film San Andreas and spoke about her exit from The Good Wife. The actress revealed that she was a bit thrown off with the viewers' response to Kalinda's exit and wasn't initially as emotional about her exit as she had known she was leaving for a while.

"It was such an easy decision for me [to say goodbye to Kalinda] because I had made up my mind, but when I actually left, and I listened to the reaction of the fans, I felt like I betrayed them," she said. "Just seeing the reaction was a little bit of a surprise. Not that I didn't know that there was a lot of love for her, but just hearing the way that people spoke about her, I was getting stopped in the street and I felt terribly guilty."

The Good Wife came under attack for a scene in the finale which offered some form of closure between Alicia (Julianna Margulies) and Kalinda. The scene had been doctored and the two actresses didn't act in it together.

The finale, entitled 'Wanna Partner?' aired on CBS on May 10.

Watch the scene: