Two brothers wanted for a bloody attack on the offices of French satirical newspaper Charlie Hebdo were killed on Friday when anti-terrorist police stormed their hideout, while a second siege ended with the deaths of four hostages.The violent end to the simultaneous stand-offs northeast of Paris and at a Jewish supermarket in the capital followed a police operation of unprecedented scale as France tackled one of the worst threats to its internal security in decades.
With one of the gunmen saying shortly before his death that he was funded by al Qaeda, President Francois Hollande warned that the danger to France - home to the European Union's biggest communities of both Muslims and Jews - was not over yet.
"These madmen, fanatics, have nothing to do with the Muslim religion," Hollande said in a televised address. "France has not seen the end of the threats it faces."
An audio recording posted on YouTube attributed to a leader of the Yemeni branch of al Qaeda (AQAP) said the attack in France was prompted by insults to prophets but stopped short of claiming responsibility for the assault on the offices of Charlie Hebdo.
Sheikh Hareth al-Nadhari said in the recording, "Some in France have misbehaved with the prophets of God and a group of God's faithful soldiers taught them how to behave and the limits of freedom of speech."
"Soldiers who love God and his prophet and who are in love with martyrdom for the sake of God had come to you," he said in the recording, the authenticity of which could not immediately be verified.
A Yemeni journalist who specialises in al Qaeda said it was clear that AQAP had provided a "spiritual inspiration" for the attack on the newspaper offices, but there was no clear sign that it was directly responsible for the assault.
Following heavy loss of life over three consecutive days, which began with the attack on Charlie Hebdo when 12 people were shot dead, French authorities are trying to prevent a rise in vengeful anti-immigrant sentiment.
Hollande denounced the killing of the four hostages at the kosher supermarket in the Vincennes district of Paris. "This was an appalling anti-Semitic act that was committed," he said.
Officials said Cherif Kouachi and his brother Said, both in their thirties, died when security forces raided a print shop in the small town of Dammartin-en-Goele, northeast of Paris, where the chief suspects in Wednesday's attack had been holed up. The hostage they had taken was safe, an official said.
Automatic gunfire rang out, followed by blasts and then silence as smoke billowed from the roof of the print shop. In thick fog, a helicopter landed on the building's roof, signalling the end of the assault. A government source said the brothers had emerged from the building and opened fire on police before they were killed.
Before his death, one of the Kouachi brothers told a television station he had received financing from an al Qaeda preacher in Yemen.
"I was sent, me, Cherif Kouachi, by Al Qaeda of Yemen. I went over there and it was Anwar al Awlaki who financed me," he told BFM-TV by telephone, according to a recording aired by the channel after the siege was over.
Al Awlaki, an influential international recruiter for al Qaeda, was killed in September 2011 in a drone strike. A senior Yemeni intelligence source earlier told Reuters that Kouachi's brother Said had also met al Awlaki during a stay in Yemen in 2011.