Golden Globe nominee Greta Gerwig has been cast for the leading role in CBS’s “How I Met Your Mother” spinoff, “How I Met  Your Dad.”

According to reports, Gerwig will play the role of Sally, a free-spirited girl in her late-twenties. She will also produce and write for the series. “How I Met Your Mother” creators Carter Bays and Craig Thomas will be executive producers for the spinoff, alongside director Pamela Fryman.

In “How I Met Your Dad” Sally is reportedly described as “a female Peter Pan who has never grown up and has no idea of where she’s going in life.” When Sally is introduced she is already married, unlike Ted Mosby. She soon realizes that she has nothing in common with her husband of less than a year. While Sally starts feeling that a breakup is inevitable, she has a circle of friends and family who support her and often try to give her good advice, which can backfire in a bad way.

“How I Met Your Dad” is slated to be shot in Los Angeles, but may move production to New York if the comedy is picked up for a series.

Gerwig was recently nominated for a Golden Globe award for Best Actress in a Comedy in the film “Frances Ha,” which she also co-wrote with Noah Baumbach. She has also been cast opposite Al Pacino in “The Humbling” and has worked in films like “Lola Versus,” “To Rome with Love,” “Damsels in Distress” and “No Strings Attached.”