A Danish policeman was in a serious condition on Tuesday after he was stabbed at the Sandholm asylum reception center.
After the attack, police from the Zealand and Copenhagen police forces cordoned off roads and employed sniffer dogs to search for the perpetrator.
On Tuesday afternoon Zealand police announced they had arrested a 25-year-old Palestinian in connection with the attack, which they are investigating as an attempted homicide.
The policeman is recovering in hospital after the attack, in which he received multiple stab wounds to the neck and stomach.
Around 600 people are currently staying at Sandholm, a former military barracks around 30 kilometers from Copenhagen which serves as Denmark's biggest asylum center.
According to the Danish Migration Service, during the last three weeks Denmark has received around 100 asylum applications each day. Since the beginning of September around 18,000 refugees and migrants have entered Denmark, most of whom passed through to reach neighboring Sweden.