Photo: AP

A Frenchman claiming allegiance to the Islamic State stabbed a policeman outside his home in Magnanville, a northwestern suburb of Paris, on Tuesday, the Associated Press reports. French officials said the man recorded the attack and broadcast it on Facebook Live.

The attacker, Larossi Abballa, was sentenced to three years in prison in 2013 for recruiting jihadis. He was from the nearby suburb of Mantes-la-Jolie. After stabbing the policeman repeatedly, Agence France Presse reports, Abballa went inside, where he found the policeman’s partner—an employee of the French Interior Ministry—and their three-year-old son.

Loud detonations were heard at the scene as elite RAID police moved in following failed negotiations with the attacker.

Officers found the woman’s body after they stormed the house, and her attacker was killed during the assault, interior ministry spokesman Pierre-Henry Brandet said.

The couple’s toddler son was “in shock but unharmed,” a prosecutor added, saying the boy was receiving medical attention.

At one point in the Facebook Live video, the AP reports, Abballa wondered what to do with the boy. In a statement, the ISIS-linked Amaq news agency said, “Islamic State fighter kills deputy chief of the police station in the city of Les Mureaux and his wife with blade weapons.”