CHICAGO (CBS) — The Will County Sheriff’s office says a 29-year-old man was arrested Monday in a sting operation – when he thought he was meeting a 10-year-old and a 12-year-old – for sex.

Arrested and charged with Indecent Solicitation of a Child and Traveling to Meet a Minor: 29-year-old Andrew Stewart of Aurora. WBBM’s Steve Miller reports.

READ MORE: Illinois License Plate Fees For Some Trailers Jumped 555% Over A Year Ago, And Issue Still Has Not Been Resolved

Detectives set up a meeting Monday with Stewart as part of an ongoing investigation, according to the sheriff’s office. He thought he was meeting two boys under the age of 13 for sex.

Stewart had two condoms, and cellphones that contained pornographic videos and images of children, according to the sheriff’s office.

When he was taken into custody, he told detectives that “if the police did not stop him … he would have had sex and sexual acts with the (minors),” according to the sheriff’s office.

READ MORE: Chicago Weather: Warmup Ahead

And prosecutors say Stewart is charged with possessing child porn – a Class 2 felony that carries 3 to 7 years in prison.

Prosecutors say Stewart thought he was meeting a 12-year-old boy and a 10-year-old boy for sex. They say the meeting place was a McDonalds in the Joliet area.

The Aurora resident is being held at the Will County Adult Detention Facility awaiting a bond hearing.

MORE NEWS: Chicago Weather: Colder And Blustery Sunday Night

(Source: CBS Chicago and Sun-Times Media Wire contributed to this copy. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)