French officials have called for vigilance but warned against jumping to conclusions after two weekend attacks – one in which a driver ran down 13 bystanders, and another in which a recent convert to Islam knifed police officers.

The driver, who had a history of psychological problems, was arrested following the attack in Dijon in eastern France, while the assailant who stabbed the officers outside the city of Tours was shot dead by police. None of the victims died.

The prosecutor in Dijon said the driver behind the attack in that city has a long history of severe mental illness and no links to terrorism. The man, who is 40, has admitted his role in the attack, said prosecutor Marie-Christine Tarrare. She said he had been hospitalised 157 times for psychiatric problems since 2001, most recently this autumn.

She said the man, the French-born son of North African immigrants, acted alone and had no religious motivations, but rather was upset at the treatment of Chechen children. He shouted “Allah akbar” (God is great) to give himself courage to act, and not out of religious belief, Tarrare said. The suspect was arrested. Eight people remain in hospital.

Interior minister Bernard Cazeneuve visited Dijon, an indication of the government’s heightened concerns days after Islamic extremists renewed calls for individuals to strike in the West.

Meanwhile, counter-terrorist police are investigating the attack on police in a suburb of Tours on Saturday, which left two officers seriously injured and a third with light injuries.

“The President calls for solidarity with the victims and the families,” said Stephane Le Foll, the government spokesman. “He also emphasised that we should not give in to panic.”

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.