ABILENE, Texas -

A Dyess airman who showed up to have sex with a 13-year-old girl last year was in court Thursday.

Joshua Clausing, was given eight years deferred adjudication, which means he will be on probation and will have to stay out of trouble for eight years in order to have his record cleared.

Clausing was arrested last year after he showed up to meet a 13-year-old girl for sex.

Detectives from Dyess and Taylor County arrested Clausing and charged him with online solicitation of a minor.

Clausing will also have to register as a sex offender for the next 10 years.