A former gymnastics coach pleaded guilty in federal court last week to trying to entice a minor to have sex with him.

Sentencing has not yet been set for Lyndsey Ryan Cox, 27, of Hurst who was known by his students as Wes Cox. The federal charge carries a sentence of between 10 years and life in prison.

Cox coached gymnastics at various centers in North Texas in recent years. According to Plano police, Cox exchanged text and video messaging with a 14-year-old boy who was a former student. The boy's mother found an inappropriate message from Cox on her son's Facebook page and called authorities. Collin County Sheriff's officials took over the boy's online identity and continued to message Cox. They worked out a plan for Cox to meet the boy at Plano's Collin Creek Mall and then go to a nearby hotel for sex. When Cox arrived at the mall, he was arrested.