A man accused of stabbing two US tourists in Amsterdam was angered by perceived insults to Islam, according to prosecutors. The suspect, identified in Dutch media as Jawed S, is believed to have travelled to the city to carry out an attack. He was motivated by what he interpreted as insults to God, the Koran and the Prophet Mohammad, prosecutors said in a statement. The arrested man is a 19-year-old Afghan with residency in Germany. He mentioned the name of far-right lawmaker Geert Wilders when questioned, investigators revealed. Wilders had planned to hold a cartoon contest mocking Mohammad, but the politician cancelled this last week due to security concerns. A statement from Amsterdam City Hall said: “Based on the suspect’s first statements, he had a terrorist motive.” US Ambassador Pete Hoekstra confirmed that the two victims, who are still being treated in hospital but whose condition is not said to be life-threatening, were American. He said: “We wish them a speedy recovery and are working closely with the City of Amsterdam to provide assistance to them and their families.” The identities of the victims have not been released. Investigators in the Netherlands do not believe it was a targeted attack, and the two Americans were not known to the suspect. German police searched the man’s house at the request of their Dutch colleagues and seized several data carriers, the authorities said.