Demi Lovato is putting it all out on the table.

During her latest documentary Demi Lovato: Dancing with the Devil which premiered this past Tuesday at the SXSW Film Festival, the singer and actress revealed that she is a survivor of rape. Not just once, but tragically, twice. One of which occurred on the night of her overdose.

Loading the player...

In her docuseries, Lovato revealed that she was sexually assaulted the night of her overdose by her drug dealer.

"I didn't just overdose. I was taken advantage of," the 28-year-old singer revealed in the documentary where Lovato's friend Sirah Mitchell shared that she had been given heroin "laced with fentanyl" on the night of her overdose.

"He also ended up getting her really high and leaving her for dead," Mitchell explained of the dealer.

"When they found me, I was naked, blue. I was literally left for dead after he took advantage of me," Lovato shared. "When I woke up in the hospital, they asked if we had had consensual sex. There was one flash that I had of him on top of me. I saw that flash and I said yes. It wasn't until a month after the overdose that I realized, 'You weren't in any state of mind to make a consensual decision.'"

Lovato became emotional later when she revealed that the trauma of that night brought up the memory of a previous sexual assault.

Lovato explained that when she "was a teenager, I was in a very similar situation. I lost my virginity in a rape."

"I was part of that Disney crowd that publicly said they were waiting until marriage. I didn't have the romantic first time," Lovato explained. "That was not it for me — that sucked. Then I had to see this person all the time so I stopped eating and coped in other ways."

Lovato went onto share that her alleged attacker "never got in trouble" for raping her even though she opened up to adults about the incident.

"They never got taken out of the movie they were in. I always kept it quiet because I've always had something to say. I don't know, I'm tired of opening my mouth. Here's the tea," she explained.

Lovato said that after her last assault she attempted to "take control" by getting in contact with her abusers.

"I called that person back a month later and tried to make it right by being in control. All it did was make me feel worse," she explained about the person who assaulted her as a teen. "Both times were textbook trauma re-enactments, and I really beat myself up for years which is why I had a really hard time coming to terms with the fact it was a rape when it happened."

Demi Lovato: Dancing with the Devil premieres on YouTube on March 23.

If you or someone you know has been a victim of sexual abuse, connect with a crisis counselor by texting "STRENGTH" to the Crisis Text Line at 741-741.

If you or someone you know is struggling with addiction, please contact the SAMHSA substance abuse helpline at 1-800-662-HELP.