A man who was arrested after injuring 17 people in a knife and arson attack aboard a train on Halloween told police he'd targeted Tokyo in hope of killing as many people as possible, investigative sources said Tuesday.

"I thought I could kill a lot of people in Tokyo," said Kyota Hattori, according to investigators. The 24-year-old wore a costume reminiscent of Batman villain the Joker during the attack.

Videos and photos of the incident, which took place on a Keio Line train on Sunday night, were posted on social media by eyewitnesses and showed the suspect at the scene wearing a bright green shirt, dark tie and purple suit.