Girls creator and actress Lena Dunham was hospitalised on Saturday and will undergo surgery after an ovarian cyst ruptured, reports said.
"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," Dunham's representative said in a statement distributed to various media outlets.
"Lena will be undergoing surgery at an undisclosed hospital," the statement said.
Endometriosis is a painful condition in which tissue that normally lines the inside of a woman's uterus instead grows on the outside. Ovarian cysts are a common complication.
Dunham said in a Facebook post on February 8 that she would not be doing interviews to promote the current fifth season of Girls due to health reasons.
"As many of you know I have endometriosis, a chronic condition that affects approximately one in 10 women's reproductive health," she wrote.
"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."
Dunham created, writes and stars in Girls, an award-winning sitcom that tracks the adventures and misadventures of a group of 20-something female friends in New York's hip borough of Brooklyn.