An explosion happened the night before the attack in the Catalan town of Alcanar. It flattened a building and killed a woman. The head of the Mossos d'Esquadra Josep Lluís Trapero said it was related to the ramming. Nine hours after the attack, police killed four people in Tarragona said to be planning a terrorist attack in Cambrils.