Sean Shanahan is charged with statutory rape, enticement of a child and indecent assault and battery on a person 14 or older.

Winthrop Police said this all started when a father contacted them about sexually explicit text messages on his daughter’s cell phone.

Shanahan reportedly began contact with the girl in January.

“The defendant stated to us that it was in fact a ‘sexting’ relationship…they were sending inappropriate text messages to each other of an inappropriate nature,” said Lt. Brian Perrin of the Winthrop Police Department.

Police said the inappropriate contact escalated and Shanahan had physical sexual contact with the girl at his Winthrop home in February over school break.