Police arrested a man accused of a violent rampage that left more than 10 people dead in the Canadian province of Saskatchewan and shook a country unaccustomed to mass violence. He died soon after.

The suspect, 32-year-old Myles Sanderson, went into medical distress shortly after his arrest on Wednesday afternoon. He was transported by ambulance to a Saskatoon hospital, where he was pronounced dead, Rhonda Blackmore, a spokeswoman for the Royal Canadian Mounted Police, said at a news conference. Sanderson died of self-inflicted wounds, according to the Associated Press.

The RCMP said they captured Sanderson near Rosthern, a town about 65 kilometers northeast of Saskatoon, the province’s largest city. The motivation for Sanderson’s alleged crimes remains unclear, Blackmore said.