Former corrections officer sentenced to 50 years