A 24-year-old man was sentenced to 34 years in prison on Wednesday after pleading guilty to manslaughter, assault and robbery charges from across the Portland area.