Man sentenced in 2021 murder