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.


US judge lets more Epstein grand jury materials be made public
At least 22 killed in collapse of two buildings in Morocco's old city of Fez
Zelenskyy says he's open to elections if US ensures security
Putin meets Indonesia's Prabowo to discuss military and energy ties, wheat exports
Air India urges overhaul in compliance culture after flying Airbus without permit
