Eva Longoria Eva Longoria

What will Carlos say about this?!

Eva Longoria, best known for playing Gaby, aka Mrs. Carlos Solis, on Desperate Housewives, is joining Brooklyn Nine-Nine this fall as a possible love interest for Jake (Andy Samberg), Fox announced Tuesday.

Fall TV: Familiar faces in new places

Longoria will appear in a three-episode arc as Sophia, a defense attorney who catches Jake's attention when she faces him in court. But will Jake act on his interest months after revealing his feelings for Amy (Melissa Fumero) in the season finale? The actress joins previously announced guest stars Kyra Sedgwick and Jenny Slate.

The arc marks Longoria's biggest role since Desperate Housewives went off the air in 2012. In addition to executive-producing Devious Maids, she most recently guest-starred on the short-lived 2013 sitcom Welcome to the Family, in which she reunited with former TV husband Ricardo Antonio Chavira.

Brooklyn Nine-Nine returns on Sunday, Sept. 28 at 8:30/7:30c on Fox. Do you think Longoria and Samberg will make a good match?

Watch This Tonight — See why Real Sports with Bryant Gumbel is our editors' pick:

Watch This Tonight: Real Sports with Bryant Gumbel