World leaders joined nearly 4 million people in the streets of Paris and around France Sunday, in solidarity with the victims of a terror spree last week that killed 17 people.

More than 40 heads of state and government joined French President Francois Hollande in linking arms for a brief walk through Paris. Immediately to Hollande's left walked German Chancellor Angela Merkel and to his right Malian President Ibrahim Boubacar Keita. France intervened to help fight Islamist rebels there two years ago to the day.

Millions March in France Against Terrorism

Other leaders included Israeli Prime Minister Benjamin Netanyahu, Palestinian President Mahmoud Abbas and Russian Foreign Minister Sergei Lavrov. U.S. Ambassador to France Jane Hartley represented the United States at Sunday's event.

Millions March in France Against Terrorism

French officials said it was the largest street demonstration in the country's history.

Millions March in France Against Terrorism

Late Sunday, the Interior Ministry said at least 3.7 million people demonstrated across France. A ministry spokesman said that 1.2 million to 1.6 million people had marched in Paris and about 2.5 million people in other cities around the country.

Sorry, but your browser cannot support embedded video of this type, you can to view it offline.

Several thousand police and military forces were deployed to the streets as well.

A massive crowd remained outside for hours, filling the the route between two of the capital's major plazas, Place de la Republique and Place de la Nation.

The Paris terrorist attacks are the worst in recent French history. They have left many here - like teacher Edith Gaudin - in shock.

"I'm fed up with all the hatred in the world. I can't stand people hating each other. More than just free expression, I want people to live together and to accept each other, even if they are different,” Gaudin said.

After world leaders left the march, Hollande stayed to greet survivors of the attack and their families.

Later Sunday night, Hollande and Netanyahu attended a memorial ceremony at the Grand Synagogue in Paris for the victims of Friday's terror attack at a kosher supermarket.

At the synagogue, Netanyahu thanked French citizens, including Muslims, for speaking out against terrorism and anti-Semitism.

Mamoun Abdelali, an imam from the Paris area, was among many Muslims at the rally denouncing militant Islam. The assailants, he said, didn't avenge the Prophet Muhammad, they insulted and dishonored him.

Another Muslim, 17-year-old Amina Tadjouri, brandished a Jewish newspaper that read: "I am Jewish, I am Charlie."

"I'm here to say that we are not OK with (the assailants). We totally disagree, Jews and Muslims, we refuse people to be killed for that. Everyone is allowed to talk, everyone is allowed to say what he wants to say…and vive la France," Tadjouri said.

French officials have called the January 7 massacre at the Paris offices of the satirical weekly magazine and a series of deadly attacks that followed acts of terrorism.

Twelve people, including eight journalists and two policemen, were massacred Wednesday at the offices of a satirical magazine known for poking fun at all religions, including Islam. Two Islamic militant brothers, Cherif and Said Kouachi, carried out the attack. They were ambushed and killed by French police on Friday.

A video believed to show Amedy Coulibaly, who French police said is tied to the fatal shooting of a policewoman and a deadly siege of a kosher grocery store in the days after the newspaper was targeted, emerged posthumously on social media Sunday.

In it, a man describes how the killings were coordinated as retribution for the U.S.-led anti-Islamic State air campaign, in which France is a partner.

Following the attack on the grocer Friday, in which four hostages were killed, Israeli Prime Minister Benjamin Netanyahu said Israel would welcome Jewish immigrants from France.

Security is expected to remain tight across the nation for weeks as investigators continue their hunt for Coulibaly's girlfriend.

Police originally suspected that 26-year-old Hayat Boumeddiene, described as armed and dangerous, was at the supermarket with her partner. But Turkish officials say the woman entered Turkey January 2 and is now likely in Syria.

Coulibaly was an associate of brothers Cherif and Said Kouachi. The siblings have been identified as perpetrators of Wednesday's attack on the staff of .

As security forces closed in on the brothers Friday outside Paris, Said Kouachi told reporters by phone that he received training and financing from al-Qaida in the Arabian Peninsula, or AQAP. American, European and Yemeni sources confirmed he trained with AQAP, which has publicly praised the attack on the offices of .