SANT BOI DE LLOBREGAT, Spain: A fire that broke out at night in a residential building outside Barcelona killed four people and injured another 13, one of them seriously, emergency services said on Wednesday.

Police wrenched open the grille of a window of a ground-floor flat in the early-morning darkness to allow residents to escape the blaze in the town of Sant Boi de Llobregat, the Catalan fire service said.

Firefighters found the bodies of four people who could not get out, while 13 others suffered injuries of varying severity, including one taken to hospital ā€œin serious conditionā€ with burns, the service said in a statement.

An AFP reporter at the scene saw the blackened facade of the two-story building, which had been cordoned off.

In February, a fire at an apartment block killed five teenagers in the town of Manlleu, north of Barcelona.