'Girls' Creator Lena Dunham Hospitalized After Ruptured Ovarian Cyst

PHOTO: Lena Dunham speaks onstage during the 22nd Annual ELLE Women in Hollywood Awards, Oct. 19, 2015 in Beverly Hills, Calif. PlayJeff Vespa/Getty Images for ELLE
WATCH Lena Dunham Hospitalized for Ruptured Ovarian Cyst

"Girls" creator Lena Dunham was hospitalized Saturday and is set to undergo surgery, according to a spokesperson for the actress.

"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," her rep said in a statement. "Lena will be undergoing surgery at an undisclosed hospital. We thank you for your understanding and hope that Lena's privacy will be respected."

Dunham -- who not only created the hit HBO series "Girls," but also stars and writes for the series -- announced on Instagram last month that she was taking time off to focus on her health.

Dunham, 29, added that she was going through a "rough patch" with the illness and that doctors told her 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," she wrote.