Glee alumna Jayma Mays has been cast as a series regular in The Trail, NBC’s documentary-style procedural comedy from comedy veteran Jeff Astrof, Forever creator Matt Miller and Warner Bros. TV.

The project, whose title is a scrambled version of Trial, follows Josh Simon, a young big-city lawyer and his oddball defense team during a high-profile murder trial in a small southern town.

Mays will play Carol Anne Keane, the Assistant District Attorney prosecuting Larry Henderson (John Lithgow) for the murder of his wife. Carol Anne is ambitious and Southern tough, wants this case to be a stepping stone for her career and will not let anyone or anything stand in the way of her getting her first death sentence conviction. Mays joins previously cast Lithgow, Sherri Shepherd and Steven Boyer.

Mays, repped by Framework Entertainment and UTA, played Emma Pillsbury on Fox’s Glee and Debbie on CBS’ The Millers. Her other credits include Wet Hot American Summer: First Day Of Camp and features Paul Blart: Mall Cop and The Smurfs 1 and 2. She can next be seen starring opposite Tom Cruise in Mena.