Breaking News Emails

Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.
 / Updated 
By Elisha Fieldstadt

Lena Dunham was hospitalized Saturday morning and will undergo surgery for a ruptured ovarian cyst, said a spokeswoman for the "Girls" creator and star.

"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," Cindi Berger, Dunham's spokeswoman, said in a statement to NBC News.

Actress Lena Dunham speaks at 'Media with Purpose' at the American Magazine Media Conference 16 in New York on Feb. 2, 2016.PETER FOLEY / EPA

Endometriosis is a chronic and often painful disease that occurs when tissue that lines the uterus is found outside the uterus.

Dunham, 29, said in a post on Facebook last month that she was "going through a rough patch with the illness" and wouldn't be "out and about doing press for the new season" of "Girls," which aired Feb. 21 on HBO.

Related: Clinton Calls on Dunham for Star-Powered Boost in N.H.

"So many women with this disease literally don't have the option of time off and I won't take it for granted," Dunham wrote.

Berger said Dunham is undergoing surgery at an undisclosed hospital.

"We thank you for you understanding and hope that Lena’s privacy will be respected," she said.