Ryan Huppie will spend the rest of his life behind bars after he was sentenced in court Friday afternoon.

25-year-old Huppie was convicted last summer of sexually assaulting and attempting to murder a city vice-principal.

In court, Huppie apologized and asked his victim for forgiveness.

Prosecutors have decided to drop the application to have Huppie labelled a dangerous offender.