The timeline of Nicollette Sheridan's firing from Desperate Housewives was the subject of debate at an ongoing Los Angeles trial on Wednesday.

Desperate Housewives creator Marc Cherry has contended that he decided to kill off Sheridan's character, Edie Britt, months before the September 2008 incident during which, she claims, he struck her in the head.

The Hollywood Reporter says that on Wednesday, Cherry testified that he considered eliminating Sheridan's character as early as the show's third season. The actress ultimately left the show after five seasons.

Cherry's lawyer presented writer's cards from May of 2008 listing ideas for killing off her character.

Cherry has cited creative and financial reasons for the decision, but on Wednesday he also claimed that Sheridan had been unprofessional on the set at times. He testified that she sometimes didn't know her lines or made "insulting comments about her dialogue."

Cherry also said that during the show's first season, Sheridan and co-star Teri Hatcher were at odds with one another during the shooting of a scene. He said Sheridan told him that "Teri Hatcher was the meanest woman in the world because of how she was acting." He did not continue the story after Sheridan's lawyer objected.

Later on Wednesday, a former writer for the show, Lori Kirkland Baker, testified that she first learned of the decision to kill off Sheridan's character in December of 2008, contradicting Cherry's claims. She said she did not recognize the parts of the May 2008 writers' notes that mentioned killing off the character.

Sheridan, who claims she was fired because she complained about her altercation with Cherry, is seeking more than six million dollars.