A Pullman man was sentenced to more than 26 years in prison after being convicted of raping and killing his estranged wife.