A judge last week sentenced a man to 26 years to life in prison for a March 2024 death of a man living in a homeless camp in south Sacramento, where he was beaten with a cast iron skillet.