Police said they killed five "suspected terrorists" during the night in the seaside town of Cambrils, 120 kilometers south of Barcelona where by-standers and police were injured in a second vehicle attack.
Along with the 13 people killed, at least 100 more were injured in the incident authorities called a terror attack.
Hours later, five men in a vehicle drove into pedestrians in Cambrils. The three others were picked up in the town of Ripoll, 100 kilometres north of Barcelona.
Police are still searching for Younes Abouyaaqoub, 22, who has not been ruled out as possibly being the van driver in Barcelona.
Spanish police shot and killed five suspected terrorists in an operation after the attack.
Authorities have issued arrest warrants for four further suspects.More news: Knife Attacker In Russian City Injures Eight
More news: Environmental Streamlining EO Opens Critical Relief Valve to Build Additional Infrastructure
More news: Top Lashkar ultra killed in Pulwama
Flowers, messages and candles placed at a memorial August 18, 2017 in Barcelona after the terrorist attack of The Rambla in Barcelona, Spain. Explosions destroyed that building Wednesday evening when gas canisters that were apparently being prepared for use in one or more attacks in Barcelona exploded.
The One World Trade Centre in NY was lit up in the colours of the Spanish flag to show solidarity. They were aged between 21 and 34, and none had a history of terrorism-related activities.
A vigil was held in Barcelona on Friday morning, at which Spanish Prime Minister Mariano Rajoy and King Felipe VI joined residents chanting, "I am not afraid". Police reported that the attackers were wearing explosive belts, which were later found to be fake. In the Cambrils attack, a five men in an Audi sedan plowed through a group of police officers and civilians, injuring several but killing none.
The five occupants of the auto were killed by police. All of the terrorists were shot dead by police.
This photo released by the police shows four suspects of the Barcelona and Cambrils attacks.
- One person was killed and seven others were injured. But police later linked it to a terrorist plot.