An Air Force sergeant from Brevard County is headed to prison after being found guilty of attempted child enticement.

Nicholas Yancey, 30, of Melbourne was sentenced to 10 years in federal prison.

Yancey posted an ad on Craigslist soliciting people for quote "texting /sexting" all while on active duty.

During an investigation by the U.S. Air Force Office of Special Investigations, an undercover officer posing as a 14-year-old child started chatting with Yancey and he eventually invited the "girl" to a sleepover at a hotel on MacDill Air Force Base.

Police arrested him when he went to meet her.