FILE PHOTO: A makeshift memorial is seen at the site of a tram shooting in Utrecht, Netherlands March 19, 2019. REUTERS/Piroschka van de Wouw

AMSTERDAM (Reuters) - A Dutch judge on Friday extended for two weeks the detention of the suspect in a shooting that killed three people in the city of Utrecht this week.

Turkish-born Gokmen Tanis, 37, is accused of carrying out the shooting aboard a tram out of terrorist intent, while authorities are also investigating whether he had other personal motives.

Prosecutors a day earlier had said they believe Tanis had a radicalized ideology and that there was no evidence of any relationship between him and the victims.

Tanis, who has been convicted of illegal weapons possession, shop lifting and burglary in recent years and has to appear in court on rape charges in July, is believed to have acted alone.

Prime Minister Mark Rutte is expected to join a march through Utrecht on Friday evening, commemorating the 19-year old woman and the 28-year old and 49-year old men who were shot dead in the attack.

The Utrecht District Court said the judge had ruled that Tanis should be permitted to communicate only with a lawyer.