A lone female police officer is credited with killing four of the five terrorists in a second attack in Spain, The Mirror reported Friday.

In the attack early Friday morning, five men in a car wearing fake explosive belts ran down pedestrians in the seaside town of Cambrils south of Barcelona before their car overturned. Seven people were hurt in the attack and one woman who was injured later died. On Thursday, a van slammed into pedestrians in Barcelona, killing 13 and injuring over 100.

Police confirmed the hero police officer from the Mossos d'Esquadra force was responsible for shooting four terrorists dead who were armed with machetes and guns. They credited her swift action with saving many lives. The female officer is receiving counseling and had already been scheduled to go on vacation this week, the article explained.

A fifth terrorist fled the scene, but was later shot dead by another officer.

The attacks may be connected to an explosion on Wednesday at a house in Alcanar south of Barcelona, according to authorities. One person died and six injured when an explosion caused the house to collapse. Officials originally attributed the cause to a buildup of gas.