(STMW) — A 37-year-old convicted sex offender has been charged with trying to take pictures of a 12-year-old boy Saturday in a Wrigley Field bathroom.

About 3:35 p.m., the boy was in the bathroom when his father saw the man trying to take pictures of the boy, according to Chicago Police. The father told security and the man was taken into custody.

READ MORE: Chicagoans React To President Biden' Plan To Tackle The City's Gun Probem
Nichols Gregor (Chicago Police)

Nichols Gregor (Chicago Police)

Police identified the man as Nichols Gregor, and he was charged with two counts of unauthorized videotaping and one count of videotaping in a public place, all felony sex offenses.

The Illinois Sex Offender registry identified him as Nicholas Gregor, formerly of Glendale Heights, who pleaded guilty in 2011 to child pornography and illegal taping of minors, and was sentenced to six months in jail.

READ MORE: Minooka Community High School District 111 And Stanley Fabian Come To Agreement On Lawsuit

He was arrested for filming a 14-year-old boy in a bathroom in St. Charles in 2010. After his arrest, police found hundreds of videos of child pornography on his home computer in Lombard, DuPage County prosecutors said at his trial.

Gregor is scheduled to appear in bond court Tuesday.

MORE NEWS: Tornado Victims Displaced Having Trouble Finding New Housing In Post Pandemic Era

(Source: Sun-Times Media Wire © Chicago Sun-Times 2016. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)