A 47-year-old man has been charged with “terrorism offences” following an attack with a van on Muslims in north London, UK police have said.

The driver slammed the vehicle into worshippers shortly after midnight on Monday as they left late-night prayers at the Muslim Welfare House and the nearby Finsbury Park Mosque, one of the biggest in Britain.

A man, who had earlier suffered a heart attack, died at the scene on Seven Sisters Road, but it was not immediately clear if he was killed by the attacker’s actions. Eight people were taken to hospital.

The Metropolitan police said the driver was initially arrested on suspicion of attempted murder, but he was later charged with the “commission, preparation or instigation of terrorism including murder and attempted murder”.

“At this stage in the investigation, it is believed that the suspect acted alone but we are, of course, investigating all the circumstances leading up to the attack,” the force said in a statement.