After catching flack for defending ‘Girls’ writer Murray Miller amid accusations that he raped an underage girl, Lena Dunham has apologized.

Miller has been accused of raping actress Aurora Perrineau when she was just 17-years-old.

Dunham had issued a joint statement along with Jenni Konner on social media supporting Miller on Friday.

“We believe, having worked closely with [Miller] for more than half a decade, that this is the case with Murray Miller. While our first instinct is to listen to every woman’s story, our insider knowledge of Murray’s situation makes us confident that sadly this accusation is one of the 3 percent of assault cases that are misreported every year.”

Now that she has faced considerable backlash, the actress and writer has changed her tune. She says on Twitter, “I naively believed it was important to share my perspective on my friend’s situation as it has transpired behind the scenes over the last few months. I now understand that it was absolutely the wrong time to come forward with such a statement and I am so sorry.”

 NY man arrested after punching woman on subway and screaming ‘I’ve raped white b—–s’ — 

The Los Angeles County Sheriff’s Department has received a complaint from Perrineau about the alleged rape and the case will be turned over to the LAPD.

Miller denies the allegations against him.

“Mr. Miller categorically and vehemently denies Ms. Perrineau’s outrageous claims,” attorney Matthew Walerstein said in a statement. “After being contacted several weeks ago by lawyers who — on Ms. Perrineau’s behalf — sought substantial monetary damages from him, Mr. Miller’s legal team gathered overwhelming evidence directly contradicting these false and offensive claims. Only after her demands for money were rebuffed did Ms. Perrineau go to the police. Mr. Miller looks forward to sharing all evidence and information with any and all authorities seeking the truth in this matter.”