A 24-year-old man dressed in Batman's Joker costume attacked passengers on a Tokyo train line on Sunday evening, injuring about 10 people.
The attack took place as many party-goers headed into the city centre for Halloween gatherings.
Police arrested the suspect on the spot, local media reported.
A man in his 60s was unconscious and in critical condition after being stabbed, while witnesses also said the attacker had spread fluid around the train and started a fire.
One video uploaded on Twitter and broadcast on NHK showed a steady stream of people running away from a train car where, seconds later, a small explosion caused a fire.
Another video showed passengers rushing to squeeze out of the train's windows and onto the platform where the train had made an emergency stop.
"I thought it was a Halloween stunt," one witness told the Yomiuri newspaper, recalling the moment he saw other passengers running in a panic towards his train car.
"Then, I saw a man walking this way, slowly waving a long knife." He said there was blood on the knife.
The attack occurred on the Keio express line bound for Shinjuku, the world's busiest rail station, at around 8:00 pm (1100 GMT), media said.
Partial service on the Keio line remained suspended late on Sunday, when Japanese voters went to the polls in a lower house election.


Former US VP Dick Cheney dies at 84
Dozens killed, army helicopter downed as Typhoon Kalmaegi hits Philippines
Trump threatens to cut funds for New York City if Mamdani wins mayoral race
Worker trapped under collapsed medieval tower in Rome dies
Saudi Crown Prince bin Salman to visit Trump in White House
Australia to offer three hours free solar power daily to millions
Man charged with 10 counts of attempted murder after knife attack on UK train
Tanzania's Hassan sworn into office after deadly election violence
