On Sunday’s episode of “Keeping Up With the Kardashians,” Kim Kardashian opened up about being robbed at gunpoint last year in Paris. “The guy came in, grabbed the phone from me, threw me on the bed and I was like, ‘This is it,’ ” she recalled.

The episode, which comes nearly six months after thieves stole more than $10 million in jewelry from the reality star, took on the dramatic stylings of a true-crime documentary. “On October 3, 2016, at approximately 2:30 AM, Kim Kardashian was robbed at gunpoint while in her Paris apartment,” the show reminded us in graphic intro text. “Still numb and in shock, Kim fled Paris quickly after the incident to rejoin her husband in New York.”

KUWTK featured footage of Kardashian arriving at her New York City apartment along with her husband, Kanye West, and her mother, Kris Jenner. “I don’t want to cry in front of the kids [or], like, let them think anything is wrong,” Kardashian told West in the elevator ride up to see their two young children. “Okay, yeah, we won’t talk about it in front of the kids,” the rapper agreed.

Kardashian’s robbery made international headlines, but even if you only had cursory knowledge of what happened, KUWTK didn’t really offer any new details. That’s become a staple on the long-running E! show, since the famous family’s melodrama so often plays out on social media and in gossip magazines before it’s discussed on the series. But this week’s episode was markedly somber. “Tonight’s episode is going to be very tough for me,” Kardashian tweeted before the episode aired.

Before Kardashian detailed the robbery, “Keeping Up With the Kardashians” documented happier moments of her trip to Paris, where she excitedly prepped for Paris Fashion Week, trying on couture designed by Balmain’s Olivier Rousteing and approved by West, who has his own fashion line and made a quick trip to the City of Light to help his wife with her “looks.” Kardashian later watched her sister Kendall Jenner walk in the Givenchy show, alongside her mother and sister Kourtney.

After the show, Kourtney decided to go out with Kendall, but Kim was tired and decided to stay in at her Paris hotel. This is where the episode took a dark turn, showing West abruptly leaving a performance at a New York music festival. “I’m sorry,” he told fans. “I have a family emergency. I have to stop the show.”

Sunday’s episode featured Kim’s perspective on the robbery, as well as her family’s reaction to the incident. Kim explained that she had been lying in bed at a discreet mansion hotel, debating whether she was going to wash her face. “And then I heard pounding up the stairs,” she recalled, noting that she initially thought it was her assistant, Stephanie, returning to the apartment with Kourtney. But when they didn’t answer, Kardashian said, she “knew something wasn’t quite right.”

Kardashian recalled her confusion as two men dressed as police officers held down a man she eventually recognized as the concierge. He became the de facto translator between her and the thieves, who took away her phone when she tried to call her bodyguard, Pascal Duvier.

The thieves tied her up, eventually leaving her in the bathroom, “badly shaken, but physically unharmed,” as her rep told CNN. (In January, French police arrested 17 suspects believed to have ties to the case.) But in those first few minutes, the reality star was convinced she was going to be killed. “While I’m being tied up, I’m like, ‘Are we going to die? Are they gonna kill us?’ And I was just crying and like, ‘Tell them I have babies.’ ”

She also described the moment she saw the thieves were armed. “I have a split second in my mind to make this quick decision, like, am I gonna run down the stairs, and, like, either be shot in the back,” she said, tearing up. “It makes me so upset to think about it, but, like, either they’re gonna shoot me in the back or if I make it and they don’t, if the elevator does not open in time, or the stairs are locked, then, like, I’m f—. There’s no way out.”

Kardashian told her sisters that she now believes the thieves were following her throughout the Paris trip. “I was Snapchatting, you know, that I was home and that everyone was going out. So I think they knew Pascal was out with Kourtney and that I was there by myself. They had to have known we were leaving that day. They had this window of opportunity and just went for it.”

Kardashian was noticeably silent on social media in the months following the robbery, leading to speculation about the future of the family’s reality show and whether the notoriously candid star would scale back her frequent (and lucrative) posts on Twitter and Instagram. Ultimately, Sunday’s episode proved that she’ll continue to be open with her fans — but on her own terms.

After the show, Kardashian took to Twitter, where she reminded fans that she “took a tragic horrific experience and did not let it diminish me, rather grew and evolved and allowed the experience to teach me.”

“I can say I’ve become so much better because of it,” she added. “Thank you for allowing me to share my story tonight.”