Khloé Kardashian has split from boyfriend James Harden while caring for her estranged husband Lamar Odom's medical issues.

"She dumped him weeks ago," a source told Us Weekly. The 31-year-old Kardashian and the Houston Rockets player were dating since July.

The "Kocktails with Khloé" host praised Harden for sticking by her side while she helped Odom with his recovery. The former NBA player was found unconscious in a Nevada brothel in October.

"James has been great. He's been very supportive with everything," Kardashian told Ryan Seacrest in November (via Us Weekly). "I'm sure there was, of course, times that he was uncomfortable with some of the things, but I'm a very honest person and I have nothing to hide.... He's been great and I've been open and honest."

Kardashian remains a constant in Odom's life since his overdose. The two have spent a lot of time together during his recovery.

"When Lamar isn't in physical therapy he is with Khloe. They continue to be closer than ever. No one really knows what will happen with them in the future," a source told E! News and added that Lamar "has a very positive attitude, Khloe is so proud of him. She encourages and motivates him everyday."

Odom has slowly started to regain movement. His physical therapy has him focused on lower body strength exercises. He was healthy enough to go on a hike with Khloe and her sister Kim Kardashian, who posted a photo of their walk on Instagram before the Super Bowl on Sunday.

 Super Soul Sunday time before Super Bowl Sunday time with Khloe & Lamar

A photo posted by Kim Kardashian West (@kimkardashian) on Feb 7, 2016 at 2:11pm PST