Two people were killed and one other was wounded Thursday in a knife attack outside Paris, authorities said.

The stabbing occurred in Trappes, located about 20 miles west of Paris. The assailant, who was only identified as a male, was killed by police.

The man first sheltered in a house after attacking passersby and then was shot dead by police, according to BFM-TV. The man was reportedly known to intelligence services.

Islamic State claimed the attack through its propaganda arm, but failed to provide evidence.

Gerard Collomb, France’s interior minister, praised the officers’ efforts in taking down the attacker and announced that an investigation was ongoing.

Officials haven’t determined whether the stabbing was a terror attack.

Authorities urged residents to avoid the area around Rue Camille Claudel while a police operation was underway.

The Associated Press contributed to this report.