PARIS (AP) — A senior French official says that an attacker has killed two people before being killed by police in a town west of Paris.

Jean-Jacques Brot, the top government administrator in the Yvelines region, tweeted that the attacker Thursday in the town of Trappes was “neutralized” and had died. The tweet also said that two of the attacker’s victims were killed and another seriously injured.

Two French officials say the two people killed in the attack were the mother and sister of the attacker.

The officials spoke on condition of anonymity because they weren’t authorized to give such details publicly.

The third victim, a passerby who was gravely injured in the attack, was also a woman, the official said.

The Islamic State group in posting on its Aamaq news agency claims responsibility for the deadly attack.

The agency says the attack in Trappes was motivated by calls from the IS leadership to attack civilians in countries at war with the extremist group. Hours earlier, the Islamic State group’s leader, Abu Bakr al-Baghdadi, urged followers to attack enemies everywhere by all means, including in knife attacks.