FORT WALTON BEACH — A Crestview man has been sentenced to life in prison after he was convicted of the sexual battery of a 14-year-old.

Okaloosa County Circuit Judge Michael Flowers sentenced Samuel Matthew Mosley Jr. to the maximum punishment Thursday. Mosley also was designated a sexual predator and will be required to register as such for the rest of his life.

According to the State Attorney's Office, during Mosley’s trial in April, the jury heard evidence that early on July 27, 2016, Mosley picked up the victim, who was walking to a friend’s house, and took her to a deserted parking lot. After arriving, he brutally raped her while threatening her and choking her until she blacked out.

The child was able to get away and provide law officers with a detailed description of the defendant and the vehicle in which the rape had occurred. Additionally, the jury was presented with DNA evidence that positively linked Mosley to attack on the child, the State Attorney's Office said.

The Crestview Police Department conducted the investigation with help from the Florida Department of Law Enforcement and the Emerald Coast Children’s Advocacy Center.