A 39-year-old man has been charged in France with murder, attempted murder and participation in a terrorist enterprise after a shooting that killed one person and injured seven others west of Paris. Prosecutors say the suspect, identified as Kevin T, admitted targeting people who appeared to him to be Muslim, African or North African.

The shooting took place on October 23 as the gunman drove through Trappes and La Verriere. Pengo Bossio Wangi, a 26-year-old French citizen of Congolese heritage, was killed. A child was among those injured. The suspect was arrested later that day.

Prosecutor Olivier Christen said the suspect had previously disputed that the attack was racist before changing his account. Authorities said searches at his home uncovered weapon components and other items. The charges and the prosecutor’s account remain part of an ongoing case; the suspect has not been convicted.