Embed from Getty Images

A single Catalan (Spain) police officer shot dead four of the five terrorists killed in an attack early Friday morning in the beach town of Cambrils.

The officer, reportedly from the Mossos d'Esquadra regional force, responded after the terrorists' car smashed through a roadblock and seriously injured another officer, according to La Vanguardia.

A total of five suspects were killed after the Cambrils attack in which a car ploughed into a crowd, killing a woman, at about 1am on Friday.

People from 34 countries are among the 14 dead and dozens injured in the attacks in Cambrils Friday and Barcelona Thursday. The US State Department said at least one of those killed was an American citizen.

Four suspects have been arrested as police investigate an alleged cell of up to 12, Yahoo News reports.