Lauren Morelli, a writer for Orange is the New Black, has come out, saying working on the show made her realize she's gay.

“I realized I was gay in fall 2012, one of the first days on the set,” Morelli wrote in May.

She said she “constantly felt like a fraud” while writing the relationship between Alex and Piper.

“Accordingly, I was nervous about the first love scene I'd written for Alex and Piper,” she said. “I loved writing it, loved watching a tenderness emerge in their relationship where passion always seemed to be the ruling principle, but by that time, I was so deep in my own self-doubt that I constantly felt like a fraud.”

“I was sure it was bleeding into my writing. How could it not? I was married to a man, but I wasn't straight.”

“I went through it all on set: I fell in love with a woman, and I watched my life play out on screen. And now, as we are gearing up for the release of Season 2, it feels liberating and appropriate to live my life in front of you.”

According to TMZ.com, Morelli and husband of two years, Steve Basilone, filed for divorce jointly in an amicable split.

And the woman she's referring to is Samira Wiley, who plays Poussey Washington on the hit comedy series.