Lena Dunham faced a backlash on Twitter after a 'racist' tweet she posted five years ago resurfaced this week.

The 30-year-old Girls star was blasted on Friday by Twitter users for the tweet that has been branded as 'gross' that she had posted back in July 2011.

'An uncool thought to have: "is that guy walking in the dark behind me a rapist? Never mind, he's Asian,"' Dunham's tweet read.

Lena Dunham (pictured) faced a backlash on Twitter after a 'racist' tweet she posted five years ago resurfaced this week

The 30-year-old Girls star was blasted on Friday by Twitter users for the tweet that has been branded as 'gross' that she had posted back in July 2011 (shown above)

While it is not clear what caused the tweet to circulate on Friday or the context behind it, many were left angered by her thoughts.

'Wow Lena, way to deny Asian men's agency,' one user responded.

'From an Asian woman: Dear @lenadunham the turds from your a**hole brain are getting boring,' another wrote.'

One user called her out saying she could not be so lost in her 'white privilege' that she thought the remark was funny, adding the hashtags 'racist, problematic and you know better.'

'You carry yourself as a shining beacon of feminist smarts, many follow you, then you tweet this,' another user wrote.

While it is not clear what caused the tweet to circulate on Friday, many were left angered by her thoughts. One user reacts to her thoughts above

One user also backhandedly mocked the star's HBO series Girls for its lack of diversity.

'Is that guy walking in the dark behind me in Girls? Never mind, he's Asian,' the user wrote.

Another tweeted, telling her to stay 'racist' and that 'Donald Trump would be proud.'

Several people also told Dunham she should delete her account.

Dunham has not addressed the ordeal which comes as she has apologized to New York Giants wide receiver Odell Beckham Jr. for making 'narcissistic assumptions' about his motivations in an article published on Friday on her website Lenny Letter.

Dunham, pictured on set of the HBO series Girls in July with actor Adam Driver

Dunham pictured on set with a 'baby bump' in July. The twitter ordeal comes as Dunham has apologized to New York Giants wide receiver Odell Beckham Jr. for making 'narcissistic assumptions' about his motivations in an article published on Friday

In the article in which she was in discussion with Amy Schumer about the most recent Met Gala, Dunham said she was seated near Beckham, who she claimed was looking at his cellphone instead of her because he found her sexually unappealing.

Dunham apologized on Saturday on her social media accounts, saying she projected her personal insecurities onto the football star and presented them as facts.

She said she and Beckham have never met and, 'after listening to a lot of valid criticism' understands that it is wrong to ascribe misogynistic thoughts to a stranger.