The terrorist was trying to set fire to the mosque’s door and shot two men, both in their 70s, who surprised him, police said.
They were both seriously injured in the incident, which happened at 15:20 (14:20 GMT), and taken to hospital.
An 84-year-old man (terrorist) was later arrested near his home close to Bayonne.
As he left the scene, the gunman also tried to set fire to a car, police said in a statement (in French).
French President Emmanuel Macron has strongly condemned what he described as an “odious” attack on the mosque.
“The Republic will never tolerate hatred,” he said. “Everything will be done to punish the perpetrators and protect our compatriots of the Muslim faith.”
Separately, Interior Minister Christophe Castaner confirmed the arrest, and offered his “solidarity and support to the Muslim community.”
Marine Le Pen, the leader of a far-right National Rally party which has had links to violent anti-Muslim groups, also condemned the shooting.
“The attack … goes against all the values of our movement,” she said.
While Jean-Luc Melenchon, a left-wing leader said, “public speech must stop encouraging hatred.”
- The Miracle of Airplane – Can a Tornado Build a Boeing 747? - November 11, 2024
- Finding Answers in the Quran to the Most Common Questions - November 11, 2024
- Remembering Our Parents After They Pass - November 11, 2024