TOMBALL, Texas - A YMCA instructor was arrested on Wednesday and has been charged with a sex crime, according to the Tomball Police Department.

Matthew Thibodeaux, 32, is accused of trying to have sex with two underage juveniles, police said.

Thibodeaux was planning to meet the children on Wednesday but fled when officers arrived at the location and approached him.

He was quickly caught and taken into custody. Thibodeaux was booked for Online Solicitation of a Minor, a second degree felony, and is being held on a $50,000 bond.

Police said he is an instructor at two YMCA locations in The Woodlands.