Toulouse prosecutor Pierre-Yves Couilleau told reporters that three students were injured on Friday when the motorist drove into the group, near a university campus in the city of Blagnac.
Three people were injured after a auto rammed through a group of students in front of a college in the French city of Toulouse.
The suspect, a single man who lives with his mother in Blagnac, had previously suffered severe psychiatric problems and was released from a court-ordered hospital stay in December 2016, the prosecutor said. The driver has been "maturing" the idea for about a month before the attack, he added.
The man was arrested immediately.
An attempted murder investigation has been opened, he said.
Nintendo Switch Hulu release is today
While gaming is the primary focus of the Switch, Nintendo is looking to expand the versatility of the platform. As the holiday season edges closer, the addition of streaming should make the console more appealing.
As the Europe 1 television network reported, the incident happened at the exit of Lyceum-college St. Exupery.
All three of the victims, one woman and two men, are said to be in their early 20s.
In the wake of the incident, Interior Minister Gerard Collomb tweeted that "Support for injured young people in Blagnac".
Mauling people using trucks and heavy vehicles has become modus-operandi of "lone wolf" attackers inspired by the ideology of the terror group, ISIS.