Beanie Feldstein has announced that she is leaving the Broadway show "Funny Girl."

"Playing Fanny Brice on Broadway has been a lifelong dream of mine, and doing so for the last few months has been a great joy and true honor," Feldstein said in an Instagram post Sunday. "Once the production decided to take the show in a different direction, I made the extremely difficult decision to step away sooner than anticipated."

The 29-year-old actress, whose real name is Elizabeth Greer, was supposed to be part of the show until Sept. 25, which would mark the finale of the show. However, she announced her exit date much sooner. The actress will exit from the show on July 31.

Feldstein said the experience was something she would never forget and thanked everyone on the show.

"I will never forget this experience and from the bottom of my heart, I want to thank every single person who came to the August Wilson for the love and support you have shown me and our amazing cast and crew," she added.

Feldstein went on to praise her cast members, calling them "remarkably talented and exceptional humans" before sharing her departure date.

"The people I have had the great joy of bringing Funny Girl to life with every night, both on and off the stage, are all remarkably talented and exceptional humans and I hope you continue to join them on Henry Street after I depart on July 31st," she concluded.

Feldstein portrayed Fanny Brice's character on the revived version of "Funny Girl." The show was first opened in 1964, while the reprised version opened in April 2022.

"Funny Girl" also features Amber Ardolino, Ephie Aardema, Daniel Beeman, Debra Cardona, Stephen Mark Lucas, Alicia Hadiya Lundgren, Colin Bradbury, Julie Benko, Toni diBuono, Jared Grimes, Leslie Donna Flesner and Masumi Iwai.

Aside from stage shows, Feldstein was last seen in the TV series "American Crime Story," which was dropped last year. She also lent her voice for an animated TV series, titled "Harriet the Spy."

Her upcoming project includes a comedy musical movie, "Merrily We Roll Along," which is helmed by director Richard Linklater.

Broadway theaters remain shuttered a year into the coronavirus pandemic, but New York travel officials see some signs of a recovery from the worst of 2020
Broadway theaters remain shuttered a year into the coronavirus pandemic, but New York travel officials see some signs of a recovery from the worst of 2020 GETTY IMAGES NORTH AMERICA / SPENCER PLATT