A Washington man who raped, killed, and buried a 6-year-old Bremerton girl in a mud bog in 2014 was sentenced to at least 40 years in prison on Monday.