Vehicles have been used as weapons of terror several times over the past year, often by by followers of the Islamic State (IS) group, attacking nations in the US-led coalition fighting the jihadists in Iraq and Syria.
The IS propaganda agency Amaq claimed that "soldiers" from the jihadist group carried out the Barcelona attack, according to the Site Intelligence Group which monitors Islamist websites.
Police said they had arrested two suspects.
Bastille Day Nice attack
Police secure the area where a truck drove into a crowd during Bastille Day celebrations in Nice, France, 15 July 2016. Source: EPA/Andreas Gebert
IS later claims Bouhlel as one of its followers.
Paris attacks
On June 19, 2007, Adam Dzaziri, a 31-year-old radicalised Islamist who had sworn allegiance to the IS, is killed when he rams a car loaded with guns and a gas canister into a police van on Paris's Champs-Elysees. No one else is injured.On August 19, 2017, a 36-year-old Algerian man, named as Hamou B., drives a BMW into soldiers outside a barracks in the western Paris suburb of Levallois-Perret, injuring six. After a car chase, police shot and wounded the suspect.
French soldier stands near the scene where French soldiers were hit and injured by a vehicle in the western Paris suburb of Levallois-Perret near Paris, France. Source: AP
London targeted twice
Emergency personnel on Westminster Bridge London, after at least two people when a vehicle and knife were used in an attack Source: Press Association
Police units at London Bridge after a van hit pedestrians on London Bridge, Central London, Britain, 03 June 2017. Source: EPA
Berlin Christmas market
The truck that crashed into a Christmas market, in Berlin. Source: EPA
Amri is shot dead by Italian police in Milan four days later after travelling through several European countries. IS claims responsibility.
Stockholm shopping street
Tow trucks move the beer truck that crashed and killed four people and injured 15 in Stockholm. Source: TT News Agency
An Uzbek national, Rakhmat Akilov, 39, confesses to using a stolen beer truck to mow down pedestrians on Stockholm's busiest shopping street Drottninggatan. According to Uzbek police he had tried to join IS in 2015.