A Minnesota man allegedly used a machete to decapitate a man who he believed raped his girlfriend before throwing the victim’s head into the woods, according to a criminal complaint.

Joseph Thoresen, 35, faces a murder charge for the alleged attack last Tuesday after the torso and head of missing 20-year-old David Haiman was found over the weekend, CBS News reports. Thoresen’s girlfriend had told Thoresen that Haiman had sexually assaulted her, the complaint says.

Thoresen is accused of beating Haiman with a baseball bat, stabbing him, then using a machete to decapitate him, the news station said. He then allegedly dragged Haiman’s torso and threw his head into the woods, according to the complaint obtained by CBS Minnesota.

Thoresen faces up to 40 years in prison if convicted.

[CBS]

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.