FILE PHOTO: People attend a moment of silence to commemorate the victims of Friday's stabbings at the Turku Market Square in Turku, Finland August 20, 2017. Lehtikuva/Vesa Moilanen via REUTERS

HELSINKI (Reuters) - Finnish police are studying a handwritten note they believe will offer clues to what motivated a 22-year old Moroccan asylum seeker to kill two women in a knife attack.

Abderrahman Bouanane, who is in pre-trial detention pending an investigation into alleged murder with terrorist intent, told a court last week he was responsible for the Aug. 18 attack but denied his motive was terrorism.

Detective Inspector Olli Toyras, from Finland’s National Bureau of Investigation, said police found the note in Bouanane’s backpack

“It is an important part of understanding his motives,” Toyras told Reuters on Tuesday. “You could call it a manifesto, it reflects the writer’s thoughts.”

Police declined to comment on the contents of the note, or if it included political messages or references to extremist organizations.

Two women died and eight people were wounded in the Aug. 18 attack in the south-western coastal city of Turku.

Bouanane arrived in Finland in 2016, lived in a reception center in Turku and had been denied asylum.

Police released two men earlier on Tuesday who had been detained over the stabbings, leaving Bouanane and one other man in custody.

The second suspect has denied involvement in the attack.