PARIS/REIMS - The youngest of three French nationals being sought by police for a suspected Islamist militant attack that killed 12 people at a satirical magazine on Wednesday turned himself into police, an official at the Paris prosecutor's office said.

The hooded attackers stormed the Paris offices of Charlie Hebdo, a weekly known for lampooning Islam and other religions, in the most deadly militant attack on French soil in decades.

French police were still in a huge manhunt for two of the attackers who escaped by car after shooting dead some of France's top cartoonists as well as two police officers.

Police issued a document to forces across the region saying the men were being sought for murder in relation to the Charlie Hebdo attack.

The document, reviewed by a Reuters correspondent, named them as Said Kouachi, born in 1980, Cherif Kouachi, born in 1982, both from Paris, and Hamyd Mourad, born in 1996.

The police source said one of them had been identified by his identity card, which had been left in the getaway car.

An official at the Paris prosecutor's office said the youngest of the three had turned himself in at a police station in Charleville-Mézières, some 230 kilometres northeast of Paris near the Belgium border.

BFM TV, citing unidentified sources, said the man had decided to go to the police after seeing his name in social media. It said other arrests had taken place in circles linked to the two brothers.

The police source said Cherif Kouachi had previously been tried on terrorism charges and served 18 months in prison.

He was charged with criminal association related to a terrorist enterprise in 2005. He had been part of an Islamist cell that enlisted French nationals from a mosque in eastern Paris to go to Iraq to fight Americans in Iraq. He was arrested before leaving for Iraq to join militants.

Police published pictures of the two brothers Thursday morning calling for witnesses and describing the two men as "armed and dangerous."

The police source said anti-terrorism police searching for the suspects and links to them had carried out searches in Reims, Strasbourg and Paris as part of the investigation.

A Reuters reporter in Reims saw anti-terrorism police secure a building before a forensics team entered an apartment there while dozens of residents looked on.

EXECUTIONS

During the attack, one of the assailants was captured on video outside the building shouting "Allahu Akbar!" (God is Greatest) as shots rang out. Another walked over to a police officer lying wounded on the street and shot him point-blank with an assault rifle before the two calmly climbed into a black car and drove off.

The third man was not seen in any of the footage and it was not clear if he was directly involved in the attack.

A police union official said there were fears of further attacks, and described the scene in the offices as carnage, with a further four wounded fighting for their lives.

Tens of thousands joined impromptu rallies across France in memory of the victims and to support freedom of expression.

The government declared the highest state of alert, tightening security at transport hubs, religious sites, media offices and department stores as the search for the assailants got under way.

Some Parisians expressed fears about the effect of the attack on community relations in France, which has Europe's biggest Muslim population.

"This is bad for everyone - particularly for Muslims despite the fact that Islam is a fine religion. It risks making a bad situation worse," Cecile Electon, an arts worker who described herself as an atheist, told Reuters at a vigil on Paris's Place de la Republique attended by 35,000 people.

I’m horrified by the barbaric attacks in France. Our thoughts and prayers are with the victims and their families.

Charlie Hebdo (Charlie Weekly) is well known for courting controversy with satirical attacks on political and religious leaders of all faiths and has published numerous cartoons ridiculing the Prophet Mohammad. Jihadists online repeatedly warned that the magazine would pay for its ridicule.

The last tweet on its account mocked Abu Bakr al-Baghdadi, the leader of the militant Islamic State, which has taken control of large swathes of Iraq and Syria and called for "lone wolf" attacks on French soil.

There was no claim of responsibility. However, a witness quoted by 20 Minutes daily newspaper said one of the assailants cried out before getting into his car: "Tell the media that it is al Qaeda in Yemen!"

Supporters of Islamic State and other jihadist groups hailed the attack on Internet sites. Governments throughout Europe have expressed fear that fighters returning from Iraq or Syria could launch attacks in their home countries.

"Today the French Republic as a whole was the target," President Francois Hollande said in a prime-time evening television address. He declared a national day of mourning on Thursday.

BARBARIC ACT

An amateur video broadcast by French television stations shows two hooded men in black outside the building. One of them spots a wounded policeman lying on the ground, hurries over to him and shoots him dead at point-blank range with a rifle.

In another clip on television station iTELE, the men are heard shouting in French: "We have killed Charlie Hebdo. We have avenged the Prophet Mohammad."

Paris prosecutor Francois Molins said the assailants killed a man at the entrance of the building to force entry. They then headed to the second floor and opened fire on an editorial meeting attended by eight journalists, a policeman tasked with protecting the magazine's editorial director and a guest.

"What we saw was a massacre. Many of the victims had been executed, most of them with wounds to the head and chest," Patrick Hertgen, an emergencies services medic called out to treat the injured, told Reuters.

A Reuters reporter saw groups of armed policeman patrolling around department stores in the shopping district and there was an armed gendarme presence outside the Arc de Triomphe.

U.S. President Barack Obama described the attack as cowardly and evil, while German Chancellor Angela Merkel was among European leaders condemning the shooting.

Dalil Boubakeur, head of the French Council of the Muslim faith (CFCM), condemned an "immensely barbaric act also against democracy and freedom of the press" and said its perpetrators could not claim to be true Muslims.

Rico, a friend of Cabut, who joined the Paris vigil, said his friend had paid for people misunderstanding his humour.

"These attacks are only going to get worse. It's like a tsunami, it won't stop and what's happening today will probably feed the National Front," he told Reuters without giving his family name.

The far-right National Front has won support on discontent over immigration to France. Some fear Wednesday's attack could be used to feed anti-Islamic agitation.

National Front leader Marine Le Pen said it was too early to draw political conclusions but added: "The increased terror threat linked to Islamic fundamentalism is a simple fact."

France last year reinforced its anti-terrorism laws and was on alert after calls from Islamist militants to attack its citizens and interests in reprisal for French military strikes on Islamist strongholds in the Middle East and Africa.

The last major attack in Paris was in the mid-1990s when the Algerian Armed Islamic Group (GIA) carried out a spate of attacks, including the bombing of a commuter train in 1995 which killed eight people and injured 150.

Gunmen stormed the Paris offices of the weekly satirical magazine Charlie Hebdo, renowned for lampooning radical Islam, killing at least 12 people, including two police officers in the worst militant attack on French soil in recent decades.

Here is a timeline of some major security incidents over the last 40 years in France.

May 4-5, 1976 - A wave of bombings rocks Corsica as the separatist Corsican National Liberation Front (FLNC) is born.

May 20, 1978 - Palestinian militants open fire at Paris Orly airport on passengers disembarking a flight from Tel Aviv. Eight people are killed including three of the assailants.

Oct. 3, 1980 - A bomb in a Paris synagogue kills four people and wounds 20. Hassan Diab, of Palestinian origin, is arrested in Canada 18 years later and extradited in 2014 to France where he faces trial.

Aug. 1982 - Five gunmen open fire and throw grenades at a restaurant in the Marais Jewish quarter of Paris. Six people are killed and 22 injured.

July 15, 1983 - Two die and 34 are injured at Marseille's main railway station after a bomb explodes. A second explosion minutes later on a Marseille-Paris high-speed train kills three and wounds three others. A pro-Arab group linked to Carlos the Jackal claims responsibility. A Paris court sentenced the Venezuelan, whose real name is Ilich Ramirez Sanchez, to a life prison term almost three decades later.

Sept. 17, 1986 - Bomb goes off in central Paris, killing seven and wounding 55. The attack was among a series of 15 carried out by the pro-Iranian Fouad Ali Saheh group in the mid 1980s that killed in total 13 people and injured more than 300.

Dec. 26, 1994 - Commandos storm a hijacked French airliner at Marseilles airport, killing four hijackers. France said they had planned to kill the 169 hostages in mid-air over Paris.

July 25, 1995 - A gas canister with black powder, nails and bolts explodes on a rush-hour suburban commuter train at the St. Michel station in the heart of the Paris Latin Quarter. At least seven people die and 86 others are wounded in the blast, blamed on Algerian Islamist militants.

Aug. 17, 1995 - A bomb in a gas canister wounds 17 people near the Arc de Triomphe in Paris. Two days later the Algerian guerrilla group GIA, the Armed Islamic Group General Command, claims responsibility.

Aug. 26, 1995 - Police find an unexploded bomb on a railway track near Lyon. It was meant to go off when a high-speed train heading for Paris passed, but failed due to a design error.

Oct. 17, 1995 - Twenty-eight people are injured when a bomb explodes in the carriage of an express train in central Paris.

Oct. 5, 1996 - A powerful bomb wrecks the office of Prime Minister Alain Juppe in the southwestern city of Bordeaux, where he is also the mayor. Corsican separatists claim responsibility.

Dec. 3, 1996 - Four people are killed and 90 injured when a bomb explodes in the Port Royal underground station.

Nov. 24, 1997 - Thirty-eight Islamist militants stand trial in Paris accused of providing logistical support to the bombings in 1995-1996. Eight people were killed and 170 injured in the attacks.

Feb. 6, 1998 - Claude Erignac, prefect of Corsica, is shot dead. He is the highest-ranking French official to be assassinated in France since the Second World War. Yvan Colonna was found guilty of the killing in Dec. 2007.

Jan. 11, 2009 - Arsonists use fire bombs to attack a synagogue near Paris and a place of worship in Strasbourg.

Nov. 10, 2010 - Interior Minister Brice Hortefeux announces the arrest of five French nationals suspected of conspiring to launch a terror attack in France.

November 2011 - A firebomb attack guts the headquarters of Charlie Hebdo after it put an image of the Prophet Mohammad on its cover.

March 2012 - Mohamed Merah, an al-Qaida-inspired gunman, kills seven people in three separate shootings in Toulouse. Victims included three soldiers of North African origin, a rabbi and his two young children.

December 2014 - A man shouting "Allahu Akbar" (God is greatest) injures 13 by ramming a vehicle into a crowd in the eastern city of Dijon. Prime Minister Manuel Valls says France has "never before faced such a high threat linked to terrorism".

Gunmen flee the offices of French satirical newspaper Charlie Hebdo in Paris, in this still image taken from amateur video shot on January 7, 2015, and obtained by Reuters. (REUTERS/Handout via Reuters TV)