Anne Hathaway is to play a lesbian in Glee.

The actress will play the lesbian aunt of gay character Kurt (Chris Colfer).

Glee co-creator Ryan Murphy announced the news at the Golden Globe awards last night.

He told People: “We just finalised a deal with Anne tonight to come onto the show.

“She’s already created [her role].

“She wants to play the lesbian aunt of Chris Colfer. Because everyone needs a lesbian aunt.”

Hathaway recently recorded a message for the pro-gay It Gets Better campaign.

Last year, she revealed that her family turned away from Catholicism after her brother came out as gay.

She told GQ: “The whole family converted to Episcopalianism after my elder brother came out. Why should I support an organisation that has a limited view of my beloved brother?”