A man from Germany will spend up to 10 years in state prison after he pleaded guilty to sexually assaulting a 15-year-old girl in East Donegal Township.