Three men have been sentenced to life in prison for the attack in 2023.