A man wielding a knife and shouting in Arabic was shot dead as he entered a police station south of Barcelona, Spanish authorities said on Monday.
The attacker, said to be 29 and of Algerian origin, had gone into the building at 05:52 (03:52 GMT) and was shot by an officer on duty.
Catalan police said the attacker had targeted officers.
He had shouted “Allahu Akbar” (God is greatest), reports said
The attacker lived in the town of Cornellà de Llobregat, just south of Barcelona. He had been living in Spain for several years and had a foreigners’ identity number, reports said.
The attacker had walked through the building’s entrance where he was immediately challenged by a woman officer with the Catalan force, the Mossos d’Esquadra, and by a sergeant on duty, police sources told the Efe news agency. When the man rushed forward, he was shot.



