According to Reuters, the death toll could rise as many of the more than 100 injured are in critical condition.
Regarding the truck attack, police arrested two men, one Marocese and one Melilla - Spanish territory in North Africa. Witnessnesses said the truck driver had fled.
According to witnesses, a white car was traveling along the steep road at high speeds on the bustling Las Ramblas Boulevard, crushing many pedestrians and leaving the bodies scattered on the ground.
British tourist Keith Welling, who was in Barcelona with his family, witnessed the attack and quickly took shelter in a restaurant as panic broke out and the crowd began to flee.
It is not yet clear how many attackers were involved and the motive for this crash.
Isis news agency Amaq stated that the attackers in Barcelona were Hoi giao State fighters who claimed to have carried out activities in response to calls for attacks against countries in the anti-IS alliance.
Also on August 17, a few hours before the truck attack on the Las Ramblas Boulevard, one person was killed in an explosion in a house 100 km southwest of Barcelona. The police said the incident was related to a truck attack.
In Barcelona, police also shot and killed a driver who crashed into a police checkpoint. Police are currently investigating whether the attack was related to a truck attack in Las Ramblas.
If the attack on the Las Ramblas Boulevard is confirmed by IS rebels, it would be the latest attack by the terrorist group in 13 months. The IS has used vehicles to carry out rebel attacks on the streets of European cities. This deadly, dangerous and unstoppable attack killed a total of more than 100 people in the cities of Nice, Berlin, London and Stockholm.