Man sentenced to 140 years in prison for rape of a child