Lamar Odom was close to death last October following a dangerous overdose that left him unconscious. On Sunday, "Keeping Up With The Kardashians" gave a behind-the-scenes look at the time the former Lakers star spent in the hospital.

MORE: Lamar Odom, through the years

The reality television program released photos taken from Odom's time in the hospital, and video of Kanye West rapping to him at bedside. West, who showed up with Odom at Kobe Bryant's last game this year, may have helped out more than he expected with his raps.

Kim Kardashian revealed Lamar had told her: "Kanye’s music helped me so much. That’s when I realized I could start thinking again and things were coming back to me and I could start articulating it."

Khloe Kardashian echoed those thoughts saying, “He’s always like that. He’s like ‘Kanye he saved me.’"

The episode also focused on Odom's first public appearance, which happened at West's fashion show and album listening event Yeezy Season 3. Odom's recovery has been remarkable, as Khloe revealed a doctor told her he had "four hours to live" at one point.