‘Glee’ star Darren Criss has apologised for a reference he made to Caitlyn Jenner during a performance of musical Hedwig and the Angry Inch on Broadway earlier in the week. The actor has been starring as the titular character in the current production of the Stephen Trask play at the Belasco Theate in New York since April and he is scheduled to continue the role until July 19th.

Darren CrissDarren Criss has been starring in the Broadway production of Hedwig and the Angry Inch.

Earlier this week a theatre goer had tweeted, "Tonight, Darren Criss, as HEDWIG said, ‘man, woman, moman, wan, Bruce Jenner, whatever you are' and it was very distasteful." The tweet soon went viral and Criss faced backlash from other social media users, prompting him to issue an apology on his Facebook page.

More: Fans Bid Farewell To 'Glee' As Series Takes Final Bow After Six Seasons

"I want to sincerely apologise to Caitlyn Jenner, all transgender people, and anyone who was offended for my words on stage during Tuesday evening's performance,” Criss wrote. “In no way do the remarks reflect my personal belief system or my support for transgender people.”

"However, I do realise the severity of the comment and the weight that words can carry and for that, I take full responsibility," the 28 year old added. "I commend Caitlyn on her strength and for spreading acceptance around the globe. I have been and remain a proud and unwavering ally of the LGBTQIA community, and will continue to walk alongside my friends on the road to full equality and acceptance.”

In the musical Criss stars as Hedwig, a genderqueer East German singer who suffered a botched gender reassignment surgery. After Criss finishes his run next month, the role will be taken over by Taye Diggs, who will join the cast until October.

More: Kendall And Kylie Jenner Post Touching Tributes To Caitlyn Jenner On Father's Day

Following the controversy, Criss also took to Twitter today to celebrate marriage equality after Friday's landmark Supreme Court ruling. 'After a much needed late sleep-in I'm so happy to wake up to the best news ever. Thank God. Finally. #LoveWins Proud to be American today,’ Criss wrote, 'It's truly a beautiful day! Hell yeah. Lots of reasons to go outside and celebrate for.’