"This is absolutely not how I wanted it to come out."
The new series centres on ballroom culture, an underground LGBT subculture that originated in 1920s New York City, in which people "walk" for trophies, prizes, and glory at events known as balls.
Following the announcement, fans responded to Jamil's casting by arguing that the panel should be made up of queer people to reflect the themes of the show.
But in a lengthy Twitter post titled 'Twitter is brutal', she wrote: "This is why I never officially came out as queer.
"I added a rainbow to my name when I felt ready a few years ago, as it's not easy within the south Asian community to be accepted, and I always answered honestly if ever straight-up asked about it on Twitter.
"But I kept it low because I was scared of the pain of being accused of performative bandwagon jumping, over something that caused me a lot of confusion, fear and turmoil when I was a kid. I didn't come from a family with *anyone* openly out.
"It's also scary as an actor to openly admit your sexuality, especially when you're already a brown female in your thirties. This is absolutely not how I wanted it to come out."
Jamil went on to say that as 'a newcomer to ballroom', she hopes her involvement in the show will be "a window in for people who are just discovering it now".
Running for nine episodes, Legendary will feature performers battling it out in “fashion and dance challenges” in their respective voguing houses in an effort to win a trophy and cash prize, according to an HBO press release.
The eight voguing houses will each have five performers and a house parent. Previously announced judges include rapper Megan Thee Stallion, stylist Law Roach and dancer Leiomy Maldonado. The release date for the show has not yet been announced.
Main image by @jameelajamil