According to the BBC News article (available in full here):
"Harry Potter author JK Rowling has revealed that one of her characters, Hogwarts school headmaster Albus Dumbledore, is gay.
She made her revelation to a packed house in New York's Carnegie Hall on Friday, as part of her US book tour.
She took audience questions and was asked if Dumbledore found "true love".
"Dumbledore is gay," she said, adding he was smitten with rival Gellert Grindelwald, who he beat in a battle between good and bad wizards long ago.
The audience gasped, then applauded. "I would have told you earlier if I knew it would make you so happy," she said.
"Falling in love can blind us to an extent," she added, saying Dumbledore was "horribly, terribly let down" and his love for Grindelwald was his "great tragedy"."