A schoolboy in Malaysia has died after a horrific beating at a religious school.

Eleven-year-old Mohamad Thaqif Amin Mohd. Gaddafi was due to his arm amputated on Wednesday in a desperate bid to save his life after both of his legs were earlier removed to stop the spread of bacterial infections resulting from the beating, according to Malaysian newspaper the Star.

However, he died in hospital the same day before the procedure could be carried out, the Star reports.

Thaqif’s fatal injuries were allegedly the result of a severe beating from a 29-year-old assistant warden at the school in Kota Tinggi, Johor state. The boy was one of 15 students whipped with a garden hose for making noise in the school’s place of worship.

The suspect, currently in police remand, will be brought before a judge and likely transferred to judicial custody.

[The Star]

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.