 He appeared in the 2016 film "Custody", written and directed by James Lapine, as an Administration for Children's Services agent.In 2012, Esparza became a recurring actor on the long-running NBC drama series "" as Manhattan Assistant District Attorney Rafael Barba, starting in the third episode of the show's 14th season, "".He appeared in 11 episodes of the show's 14th season.