Onetime Wisteria Lane resident Eva Longoria is returning to Sunday-night TV, with a guest-starring turn on Fox’s Brooklyn Nine-Nine.
RELATED Fall Preview 2014: Your Handy Calendar of 99 Premieres
TVLine has learned that the Golden Globe-nominated Desperate Housewives alum has booked a three-episode arc as Sophia, a defense attorney who catches the attention of Jake Peralta (played by Andy Samberg) when she faces off against him in court.
Longoria joins a Season 2 guest cast that includes TV’s erstwhile Closer, Kyra Sedgwick, as Captain Holt’s nemesis.
RELATED SNL Alum Jenny Slate to Visit Brooklyn Nine-Nine
B99 opens its new season on Sept. 28, now airing Sundays at 8:30/7:30c (nestled between The Simpsons and Family Guy).