Five suspected terrorists have been shot dead by Spanish police in a second attack to hit Catalonia.
Seven people were injured in the coastal town of Cambrils, including a police officer, when a group, said to be wearing "explosive belts", launched a vehicle attack similar to that which left 13 people dead and over 100 injured in Barcelona.
Police urged locals to take cover as they swooped on an area close to Cambrils' beach-front promenade in the early hours of Friday morning.
Bystanders could be seen running for cover and several gunshots were heard in footage posted on social media, with a later clip showing several dead bodies lying on the floor.
Two men charged with murder and membership of a terror organisation as judge orders a fourth suspect to be freed on bail.
Younes Abouyaaqoub was wearing a fake bomb vest when he was killed in the town of Subirats, about 30 miles west of Barcelona.
The man believed to be responsible for driving a van into pedestrians in Barcelona has been pictured as the death toll rises to 15.