A Kerhonkson man gets the maximum sentence for a sex act with a minor teenager.

The Ulster County district attorney's office says 27-year-old Daniel Mikalonis will spend seven years in prison. In October, he admitted to a sex act with a 14-year-old in 2017, and pleaded guilty.

Mikalonis will be on post-release supervision for 10 years after he does his time. He will also have to register as a sex offender.