Khloe Kardashian and Lamar Odom have called off their divorce, E! News confirms.

The couple  have jointly gone to court to dismiss their divorce case, because they want to stay husband and wife .

READ MORE: 5 Ways Kris Jenner could benefit from Lamar Odom's crisis

Khloe's lawyer Laura Wasser went before a judge Wednesday morning (October 21), asking a judge to withdraw the papers they both signed to end their marriage.

The file was sitting in a pile waiting to be processed and signed by a judge. The judge granted Wasser's request and the file is now dead.

As we reported, Khloe filed for divorce in December 2013, but sat on itfor a year and a half because she tried to save her marriage by trying to get Lamar into rehab. She finally gave up this summer.

Khloe has also privately vowed to be by Lamar's side on his road to recovery, which will take months of rehab!

READ MORE:undefined

Close sources tell TMZ that a few days ago they both agreed to give their marriage another chance. They both signed the document Wasser presented to the judge, asking that the divorce case be dismissed.

Lamar signed from his hospital bed.