A 45-year-old man was sentenced in a jury trial on Thursday to 100 years in prison for two counts of aggravated sexual assault of a child .