ST. PAUL, Minn. (AP) — A former Twin Cities-area high school tennis coach has received a six-year prison sentence for violating his probation by trying to contact a teenage girl he had sex with.

Twenty-eight-year-old Daniel Erik Hubbard Wilson of St. Paul pleaded guilty earlier this year to third-degree criminal sexual conduct. A criminal complaint says Wilson had sex with the girl in 2013 when she was 15. He was her personal coach and her school’s coach.

READ MORE: How Do U Of M-Developed Apple Varieties Get Their Names?

A judge ordered Wilson to spend a year in jail and 15 years on probation, and stayed a six-year prison sentence pending his compliance with probation terms. But the Ramsey County probation department says he told a third party to post messages on the girl’s Twitter account.

READ MORE: Demolition Begins On St. Paul's Midway Shopping Center, Heavily Damaged During Unrest

Wilson’s attorney argued Thursday that he needed counseling or treatment, and asked for only jail time.

MORE NEWS: Cortez Banks Charged In Crystal Knife Attack; Victims Expected To Survive

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)