A former Illinois state representative who resigned from office last month is now facing federal child pornography charges.

Keith Farnham, a Democrat who represented suburban Elgin, used a phony email account to send and receive videos and images of children as young as six months old being sexually abused, a criminal complaint filed Monday claims, according to the Chicago Sun-Times.

The 66-year-old also bragged that he sexually abused a 6-year-old girl in a web chat, according to the complaint. He also allegedly said in a separate web chat that "12 is about as old as i can handle … i love them at 6 7 8," the Chicago Tribune reports.

He wanted "all the vids and pics ever made" of kids, he allegedly said in another message.

Farnham resigned on March 19 due to what he claimed to be serious health issues, according to the Daily Herald. He has had His resignation came less than a week after federal agents executed a search warrant of Farnham's office and home, removing several computers and electronic storage devices.

One of the computers was state-owned and contained two pornographic videos linked to an email address he allegedly used. The FBI says other devices contained "hundreds of [pornographic] images" as well.

As a state rep, Farnham cosponsored two separate pieces of legislation that increased penalties for those convicted of possessing child pornography, including a bill signed into law last August.

Farnham has not been arrested but could face up to 10 years in prison on the charges. He is expected to appear in court Wednesday.