In 2012, Spain had a murder rate of 0.8 per 100,000 population. There were a total of 364 murders in Spain in 2012. Many terrorist attacks have occurred in Spain, the most deadly of which was the 2004 Madrid train bombings.