The officer – who local media has said is female – wiped out the jihadis seconds after they rammed their Audi A3 through crowds and into her police car.

As her partner lay wounded in the vehicle, the outnumbered officer faced a one-on-one clash with the crazed gang, who escaped their overturned car and marched towards her armed with machetes, axes and knives.

The Trooper agent, who had been on a routine patrol, acted fast to fire rounds and take out four of the five-strong mob before they caused more bloodshed on the public.

The final suspect attempted to flee on foot before being gunned down by officers in a nearby park.

The hero police officer acted despite the terrorists wearing suicide vests, which later were found to be fakes.

Officers had been conducting normal checks at a roundabout on the Cambrils seafront when an Audi A3 vehicle came careering down the street, ramming into a group of people before crashing into the police car.