Cristin Milioti to Star in Rashida Jones-Will McCormack Comedy Pilot for NBC

Cristin Milioti to Star in Rashida Jones-Will McCormack Comedy Pilot for NBC

Getty Images

Milioti will play an alternately serious and hilarious lawyer

Cristin Milioti, who was thrust into the spotlight when she was introduced as the titular mystery mom in CBS's “How I Met Your Mother” last year, has found a new gig for when that series wraps up.

Milioti has been cast in the NBC comedy pilot “A to Z,” which comes from Rashida Jones and Will McCormack's Le Train Train production company, in association with Warner Bros. Television.

Also read: Greta Gerwig to Star in ‘How I Met Your Mother’ Spinoff for CBS

“A to Z” follows the relationship between a young couple, Andrew and Zelda, from meeting to breakup. Miloti will play Zelda, a realist and attorney at a small, public-advocacy law firm. Alternately serious and hilarious, Zelda loves being a grown-up and doesn't understand why anyone over 20 would go see an animated movie or eat ice cream sundaes. Destiny and fate are not in her vocabulary; she believes she controls her own destiny.

Jones and McCormack are executive producing, as is Ben Queen (“Cars 2”), who wrote the pilot.