A man has been charged with terrorism-linked attempted murders after allegedly carrying out anti-Muslim attacks in Edinburgh.

Lewis Hawkes, 36, was also charged with one count of assault and robbery, two counts of breach of the peace and two counts of culpable and reckless conduct – all of which are also aggravated by reason of having a terrorist connection, the Crown Office said.

Counter-terrorism officers launched a probe into the attacks on Friday which had a suspected anti-Muslim motivation and left five men - two aged 22, and others aged 24, 27 and 39 - injured.

Two of the men were taken to hospital after being stabbed "multiple times" following prayers at Broomhouse Mosque that evening. The other three were attacked on Leith Walk.

A man being arrested in Edinburgh

Hawkes did not submit a plea during a private hearing at Edinburgh Sheriff Court on Monday. He was remanded in custody, ahead of another court appearance within eight days.

A series of attacks were reported across Edinburgh on Friday evening.

At around 8:30pm, two 22-year-old men, understood to have recently left Asr prayer at the mosque, were repeatedly stabbed at Sighthill Park and rushed to Edinburgh Royal Infirmary for treatment.

An image from the scene appeared to show a hatchet alongside shards of broken glass after a taxi was vandalised about five miles away at a Shell garage on Telford Road at 9:15pm.

Minutes later, at 9:28pm, a man was captured on CCTV standing beside a black vehicle with its window smashed at a BP garage on Ferry Road. He was seen entering the kiosk before and overturning shelves, causing products to be flung across the floor.

Police at Leith Walk

The bare-chested man was then seen on Leith Walk armed with two large weapons. There, he chased a man on an e-bike.

Further footage showed him running towards a man who had stepped off a tram before repeatedly striking him with two large knives.

After the man got away, the suspect turned towards a pizzeria and struck the door several times before the restaurant brought its shutters down.

He was then captured heading back to Leith Walk, where he attacked a delivery driver on an e-bike, causing him to fall off the vehicle.

Police Scotland said it had spoken to more than 90 multi-faith organisations across Edinburgh following the attacks.

Supt Neil Wilson, of Police Scotland's Edinburgh division, said he understood the "heightened" concern among some communities.

"It is important that all communities across Scotland feel supported, protected and able to go about their daily lives without fear of hatred or intimidation," he said.

"I would urge everyone to continue to work together and ensure no person or group in Scotland feels marginalised or isolated."