Two people were killed and one seriously wounded in a knife attack in the Paris suburb of Trappes, French authorities said.
The knife attacker was then shot dead by police.
“The police operation is over ... the person was neutralized and is dead,” the local prefecture said on Twitter.
Islamic State issued a statement claiming responsibility for the attack. BFM TV said the attacker shouted “Allahu akbar”, but police could not immediately confirm it.
One Interior ministry source said the victims might be relatives of the attacker and police are looking into whether it was a family quarrel.
“The reason behind the attack and his profile are not known yet and are being looked into,” another source said.
Counter-terrorism officials have yet to be asked to join the investigation, a judicial source said.
Trappes is an underprivileged town situated in an overall wealthy area west of Paris. Dozens of radicalized youths from the town of about 30,000 habitants have left for Syria.