NEW SMYRNA BEACH, Fla. -

Police said a Marion County man drove for hours to have sex with a 13-year-old girl.

Devin Schmidtke, 24, was arrested earlier this week after, according to investigators, he chatted for months with the teen online before driving to Volusia County to meet her.

Police said Schmidtke then took the girl to a New Smyrna Beach motel, where the two had sex.

When the girl's parents found inappropriate messages on her phone, they called police.

Schmidtke was arrested and taken to jail.  He was later released after posting bond.