Hundreds of people gathered in London’s Trafalgar Square on Thursday in a vigil to remember the victims of Wednesday’s attack near parliament in which four people died and some 40 injured.

With traffic diverted, the landmark square was eerily quiet as dusk fell and volunteers handed out candles.

The attacker, who was among the dead, has been named as British-born Khalid Masood, 52, who was once investigated by intelligence officers over concerns about violent extremism.

In all, people of 11 nationalities were caught up in the violence as Masood plowed into pedestrians before running through the gates of the parliament building and fatally stabbing unarmed policeman Keith Palmer.

A group of Muslim men held up a sign saying “love for all, hatred for none.’’

“These events have nothing to do with religion. This is pure terrorism’’, one of them, Ali Raza, a 23-year-old student from London told Reuters.

Gary Hunnam, 28, lives in London, and his partner is a police officer.

“It really touched us yesterday when I heard that one of them had been attacked. So, I thought it was good to come out and show solidarity to everyone who was involved’’, he said.

Helen Pallot, 26, from just outside London, was holding a bunch of flowers she planned to lay nearby.

“I have got a lot of friends and family that work five minutes away from there; so it just makes you think.

“It made me angry and sad and I wanted to come here and show that we can still all be here together’’, she said.

Another man held up a handwritten sign saying “London will never be beaten; we stand as one and united.’’

The mourners, who were addressed by Interior Minister Amber Rudd and London Mayor Sadiq Khan, held a minute’s silence before the event ended.

Wednesday’s attack was the deadliest in Britain since 2005, when 52 people were killed by Islamist suicide bombers on London’s public transport system.