Kim Kardashian might be pretty clean-cut now when it comes to drugs and drinking, but according to her, that wasn't always the case.

TMZ notes that on Sunday's (November 25) episode of Keeping Up With the Kardashians, Kim revealed to Kendall Jenner and Scott Disick she had a wild-child phase in her youth. This includes during the time she made her infamous sex tape with singer and ex-boyfriend Ray J.

"I heard stories about you," Jenner says to her sister. "I didn't know you like, got high."

"I got married on ecstasy...the first time," Kim tells a shocked Kendall and Scott about her first marriage in 2000 to music producer Damon Thomas. "I did ecstasy once, and I got married. I did it again and I made a sex tape – Like, everything bad would happen," Kim reflects.

"You were high on ecstasy when you had that sex tape?!" a shocked Disick replies in disbelief. "Absolutely... My jaw was shaking," Kardashian confirms.

Celebrities Who Have Dissed the Kardashians