In May 1897, the last public garrotting in Spain was performed in Barcelona. After that, all executions were performed inside prisons. In 1935 in Spain the legislature adopted a law prohibiting any member of the armed forces from being a Freemason. As a result of this edict, 80 Freemasons were garrotted to death in Málaga. This was one of the many issues that led to unrest that became the Spanish Civil War.