Why not, terrorism worked on Spain. We can all give Spain the credit.
I think in the case of Spain, it was different, as they went after the trains in the country itself, as opposed to beheading a single person in Iraq....it touched a lot closer to home in Spain.