So this is how it all went down!

Kim Kardashian skyrocketed to fame ten years ago because of her infamous sex tape with ex-boyfriend Ray J, but now we're learning exactly how the sale of her most intimate moments was orchestrated.

The reality star was in Australia with then-pal Paris Hilton when she learned the footage was being shopped around. Kevin Dickson, former editor at In Touch, told Page Six how he spoke to Paris while Kimmy K was busy freaking out. "[Kim] 'was crying in the background. She’d seen the story by then, and Kim’s saying, ‘It’s not me, it’s not me.’ Kim denied it and denied it and she was denying and crying at the same time," he said.

Once the porn companies started talking money, though, the E! starlet relaxed.

"Then she calmed down. When [Vivid] talked money with her, she started talking [to me] more frequently again," Dickson explained.

Before her X-rated romp made her a household name, she was exploring other avenues towards fame. Somehow, she decided romancing Nick Lachey would be the fastest way to stardom.

"We tried to get her to f*** Nick Lachey so she could be a celebrity girlfriend. They went to dinner somewhere in the North Valley and we had paparazzi there. But our paparazzi told all the other paparazzi. It was a mess," Dickson revealed about orchestrating the hookup.

For the record, Kardashian's rep denies that she planted stories about herself and tipped off paparazzi.

She accomplished her goal, that's for sure!