LYON - A soldier guarding a mosque in France shot and wounded a driver who rammed him with a car on Friday, as the country remains on high alert after the Paris attacks, local authorities said.

Police said the driver deliberately drove his Peugeot into the soldier in the southeastern city of Valence. The soldier is among thousands protecting sensitive sites around the nation after the deadly jihadist assaults in Paris in 2015.

The impact of the car left the soldier with injuries to his knee and shin. Local authorities said the driver was shot in the arm and the leg and was seriously wounded. A stray bullet hit a passerby in the calf.

Police said the driver’s motive remained unclear. Attacks in Paris on satirical newspaper Charlie Hebdo and a Jewish supermarket killed 17 people in January 2015, with a series of coordinated shootings and bombings in the city in November leaving 130 people dead. The driver was taken to hospital and his motives were not yet known. He had not yet been questioned. The injured passerby was a 72-year-old worshipper who was hit in the calf by a stray bullet shot by the soldiers, Valence mayor Nicolas Daragon told the iTELE news channel. The soldier had slight injuries to his legs. “The four soldiers were in front of the mosque, a moderate, quiet mosque, in between two prayer sessions, at a time when many worshippers arrived,” Daragon said. “A car drove at them.” The driver tried twice to hit the soldiers and they shot at him on his second attempt, he said.

France has been on high alert since Islamic State militants killed 130 people in shootings and suicide bombings in Paris on Nov. 13. Soldiers are protecting sensitive places across the country, including official buildings and religious sites.