On March 11, Spain marks 20 years since Europe's worst Islamist attack when militants claiming to be acting on behalf of Al-Qaeda bombed commuter trains in Madrid, killing 192 people and wounding nearly 2,000 others.
The perpetrators said the attack was revenge for Spain's role in the US-led invasion of Iraq.
A decade later, jihadists invoked the West's intervention against the Islamic State (IS) group in Iraq and Syria to unleash a new wave of terror in Europe.
AFP looks back at the deadliest attacks over the past two decades:
- 2005: London bombings -
A year after Spain, London's transport system is targeted on July 7 when four suicide bombers blow themselves up in coordinated strikes on the underground network and a bus.
Claimed by Al-Qaeda, the attacks kill 52 people and injure another 700.
- 2015: Bataclan, Paris -
A decade later in France, a new wave of jihadist attacks begins, most of which are claimed by IS.
The deadliest takes place in Paris on November 13 when IS gunmen go on a shooting and bombing rampage, killing 130 people at the Bataclan concert hall, in bars and restaurants, and at the Stade de France stadium in France's worst post-war attacks.
- 2016: Brussels airport and metro -
On March 22, IS suicide bombers kill 35 people and injure another 340 at Brussels airport and the Maelbeek metro station, near the European Union headquarters.
Belgian investigators say the assailants were part of the same Brussels-based cell that orchestrated the Paris attacks.
- 2016: Nice -
France is again targeted on July 14, Bastille Day, when a radicalised Tunisian drives a truck through crowds after a fireworks display in the southern resort of Nice, killing 86 people and injuring more than 400.
The attacker is shot dead by police with IS claiming responsibility for the attack. French investigators don't find any links between the assailant and IS.
- 2017: Manchester pop concert -
Back in Britain, a young Briton of Libyan origin blows himself up at an Ariana Grande pop concert in the city of Manchester on May 22.
The attack kills 22 people including seven children and leaves around 100 injured.
The bombing was claimed by IS, with the 22-year-old assailant using a homemade shrapnel bomb. His family had fought in Libya's civil wars.
- 2017: Barcelona's Ramblas -
On August 17, a group of young radicalised Moroccans and Spaniards of Moroccan origin plough a van into pedestrians in Barcelona's famous Ramblas boulevard.
Later, in the early hours of August 18, five others drive a car into pedestrians in Cambrils, a seaside town 100 kilometres (60 miles) further south.
The two attacks, which leave 16 people dead and 140 wounded, are claimed by IS and carried out by a cell comprising mostly youngsters who grew up in Catalonia.