CHICAGO (AP) — A former Illinois state representative is deciding whether to change his plea to guilty in a child pornography case.

A lawyer for Elgin Democrat Keith Farnham said Monday during a hearing in Chicago federal court that his client is negotiating a plea deal. If that falls through, attorney Terry Ekl says Farnham could still plead guilty without a deal or choose to still go to trial.

READ MORE: Chicago Police Officer Shot, Wounded In Calumet Heights; One Suspect Also Shot

The 66-year-old Farnham pleaded not guilty earlier this year to possessing, receiving and transporting child pornography.

READ MORE: Chicago Weather: Partly Cloudy And Breezy Overnight

Judge Edmond Chang scheduled a change-of-plea hearing for Dec. 3. If Farnham decides by then to stick to his not-guilty plea, Chang will set a trial date.

Farnham appeared in court clutching an oxygen tank. His attorneys say he’s suffering from bladder cancer, pulmonary fibrosis, and hepatitis.

MORE NEWS: View Live Radar

(TM and © Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)