Theirs is a love story made in Hollywood — and Astoria, Queens, where “Orange Is the New Black” is made. Writer/producer Lauren Morelli came out in 2014 after falling in love with Samira Wiley, who played Poussey on Netflix’s hit show. They met on the New York City soundstage in 2012, and for the first time are revealing how the magic happened.

“We spent four days in a row working together,” Wiley told Out. “Honestly, I thought she was gay the first time I met her.” Wiley has been out for several years, a proud lesbian in a religious family. Her parents are pastors of the first black Baptist church to perform same-sex union ceremonies in Washington, D.C.

“I’d already seen Samira’s audition tape and immediately had a crush on her — the complication being that I was married to a man at the time,” Morelli said in the interview with Out. “I came to New York to shoot my first episode. I was on set, sitting in front of the monitors, and she and Lea DeLaria, who plays Big Boo, walked up to me. Our set is like a lesbian utopia, and I remember thinking, They’re flirting with me.”

Morelli spoke openly about the shift in her sexual attraction, and how open she was with her then husband, for the first time.

“I had started questioning my sexuality as a result of being in the writers’ room and talking about all the themes on the show. I was very open with my husband and told him. That turned into a year of going to couples therapy. “I had a few queer women around me, but not many I could talk to about such a huge, vulnerable thing. Samira became my outlet, and through that process I fell in love with her. Being with her felt too good to be true.”

Morelli separated from her husband, got her own place in Los Angeles, and began dating Wiley. One of the most dramatic moments being the death of Poussey on the show, which Morelli scripted.

“I was obviously honored to write the episode in which Poussey is killed,” she said. “When I sat down to write that scene and typed the part when she dies, I just started sobbing. I called Samira sobbing so hard that I couldn’t get the words out. I’d never had the experience of not only killing a character, but killing a character played by my girlfriend.”

After working together, vacationing together and learning about each other’s strengths and weaknesses, faults and virtues, Morelli took Wiley away to Palm Springs in October 2016 to pop the question.

Before heading out, Wiley said she couldn’t help but notice her girlfriend was acting odd.

“She got home and was just not ready to go, and I was confused. She asked me to sit next to her. Then she got me up, and we started dancing together, and she pulled a ring from behind the couch. Lauren has been married before, so I wanted her to tell me she was ready, her to be the one to propose. I didn’t know she was as ready as she was. I was completely shocked. I was crying uncontrollably and kept backing away from her. I asked her after, “Who knows about this?” and she said, “Oh, everyone. Your parents know.” We didn’t tell anyone else for a few days. That was really important to us — to have some time where it was just ours.”

Then they each posted the news on Instagram.

“I was so nervous and terrified she knew it was coming, but she was so shocked that I couldn’t get her to stop crying,” Morelli told Out. “She was hyperventilating. I thought, Oh, this is not good. This has gone too far. She was very clear she’d wait for me to be ready, so to give her something I knew she wanted so much was incredible. It was the most magical day of my life.”

“There’s this Sara Bareilles song we love called ‘I Choose You.’” said Wiley. “For so long in our relationship, I wasn’t ‘the one.’ I was just waiting and being supportive of Lauren’s journey. To see her embrace her sexual orientation the way she has is like that song: ‘I choose this life as a gay woman, and we choose to spend this life together.’ I think — I know — I would not be where I am without Lauren. When I was first being thrust into the public eye, I wouldn’t talk about my orientation. Being with Lauren taught me self-love.”