A Livingston man has accepted a 50-year prison sentence in exchange for pleading guilty in the death of his girlfriend.