Nicollette Sheridan Nicollette Sheridan

Nicollette Sheridan's wrongful termination lawsuit against Desperate Housewives creator Marc Cherry has been cleared for trial, according to The Associated Press.

"It's clear to the court that this is something that needs to go to a jury," Los Angeles Superior Court Judge Elizabeth Allen White said Tuesday after hearing both sides of the argument.

In April 2010, the 47-year-old actress filed a $20 million lawsuit claiming she was fired from the ABC show after she tried to complain about being slapped by Cherry, and because she is a woman. Last month, Lori Kirkland Baker, a former executive producer on Housewives, entered testimony that supports Sheridan's timeline of events in her wrongful termination lawsuit.

Nicollette Sheridan gets backup from Housewives producer in lawsuit against Marc Cherry, ABC

Adam Levin, an attorney for the network and Cherry, argued that the decision to kill off Sheridan's was made months prior to her argument with the showrunner. Sheridan's attorney, Mark Baute, argued that the network's cost-cutting reasoning for her departure made no sense as Sheridan exited midseason and was still owed money on her contract.

During the ruling, White also tossed out Sheridan's sexual harassment and assault claims, but Sheridan can still seek punitive damages from ABC.

The case is set to go to trial June 8.