'Orange Is the New Black' Writer Files for Divorce, Dating Actress Samira Wiley

"I realized I was gay in fall 2012, one of my first days on the set," she wrote.

— -- A writer for the show "Orange Is the New Black" has made big changes in her life over the past few months.

Lauren Morelli and her husband, Steve Basilone, have filed for divorce, ABC News confirmed. She is now dating "OITNB" actress Samira Wiley -- who plays Poussey on the hit Netflix show -- with whom she was photographed holding hands at the Emmys.

Morelli first opened up about her sexuality in an essay for Identities.Mic this past May. Though she was married to a man, writing for the show made her realize that she was attracted to women.

The Negative Effect 'Orange Is the New Black' is Having on Jails

‘Orange Is the New Black’ Star Laverne Cox’s One Wish for America

"I realized I was gay in fall 2012, one of my first days on the set. It wasn't so much one thing, but the sum of many small details: how uncomfortable I felt around groups of lesbians or how I considered myself (shrug) a 'not very sexual person,'" she wrote. "When considered alone, these seemed like little quirks that made me me. Wanting to read a book instead of have sex is a perfectly reasonable preference to have, right?"

While ending her marriage to "the person I loved most in the world" was difficult, Morelli said that she's grateful to be living the life she leads.

"I went through it all on set: I fell in love with a woman, and I watched my life play out on screen," she wrote. "It feels liberating and appropriate to live my life in front of you."