Freddy Rodriguez is segueing from his co-starring role on NBC’s The Night Shift to playing one of the main characters in the CBS drama pilot Bull, from Amblin TV and CBS TV Studios.

Written by Phil McGraw and Paul Attanasio, Bull is based on popular daytime talk show host Dr. Phil’s early days as head of one of the most prolific trial consulting services of all time. It centers on Dr. Jason Bull, who runs Trial Sciences Inc., a company that analyzes juries to help develop defense strategies. Rodriguez will play Benny, the only lawyer on the team, who provides legal strategy and acts as the lawyer in their mock trials. He’s also Bull’s former brother-in-law and the closest thing Bull has to a friend. Rodriguez joins previously cast Geneva Carr.

Rodriguez was a series regular on NBC medical drama The Night Shift for the first two seasons, playing Michael Ragosa. He recently announced that he will not be returning for the upcoming third season. Rodriguez, whose TV series credits also include Chaos and Ugly Betty, is repped by UTA and 3 Arts.