Lena Dunham Hospitalized Due to Ruptured Ovarian Cyst

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

' creator Lena Dunham was hospitalized this weekend due to a ruptured ovarian cyst, a common side effect of endometriosis. 

Cindi Berger, Dunham's spokesperson, confirmed the hospitalization to ET in a statement. "Lena Dunham has been very public with her personal bouts with endometriosis. This morning she suffered from an ovarian cyst rupture and has been taken to the hospital. Lena will be undergoing surgery at an undisclosed hospital. We thank you for your understanding and hope that Lena's privacy will be respected."

WATCH: Lena Dunham and Andrew Rannells Revisit Their College Youth in 'Girls' Deleted Scene

Dunham's hospitalization comes just three weeks after the actress announced she wouldn't be participating in the press tour for the sixth and final season of Girls, her HBO series.

At that time, the 29-year-old explained that she was "going through a rough patch" with her endometriosis and that she needed a break.

View this post on Instagram

Hey Beloved Pals, I just wanted to let you know that, while I am so excited for Girls to return on Feb 21, I won't be out and about doing press for the new season. As many of you know I have endometriosis, a chronic condition that affects approximately 1 in 10 women's reproductive health. I am currently going through a rough patch with the illness and my body (along with my amazing doctors) let me know, in no uncertain terms, that it's time to rest. That's a hard thing to do, but I'm trying, because all I want is to make season 6 of Girls the best one yet. I'm lucky enough to have support and backup from Jenni, Judd and the whole Girls gang. So many women with this disease literally don't have the option of time off and I won't take it for granted. Wishing you all health & happiness, in whatever form suits you. Back soon xxLena

A post shared by Lena Dunham (@lenadunham) on

Dunham and pals addressed the illness in a recent issue of her newsletter Lenny devoted to endometriosis.

NEWS: Lena Dunham Cancels 'Girls' Press Appearances Due to Chronic Illness: 'It's Time to Rest'

In the newsletter's introduction it is explained that endometriosis is "when the cells that line the uterus (endometrial cells) end up in other parts of the body," which can result in painful cysts, scar tissue, and blocked fallopian tubes, among other side effects.

Dunham has been an outspoken advocate on women's issues, and recently spoke up to support Kesha in her battle with music producer Dr. Luke. Find out more in the video below.