Former William Adams Middle School security guard received five years in a Texas prison on Tuesday for an incident that involved a student in May 2014.

Thirty-six-year-old Daniel Ramos pled to the five years in prison for improper relationship and 10 years deferred on sexual assault of a child, according to Jim Wells County District Attorney Carlos Garcia.

Ramos will serve his five years in prison and then do 10 years under supervised probation, Garcia said.

In May 2014, Ramos confessed to authorities that he had relations with a student he met while working at the school.

Ramos told authorities in 2014 that he picked up the girl on two separate occasions out in the county to have sexual relations.

As of Thursday afternoon, Ramos remains in the JWC jail awaiting transfer.