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.

                                
                                        
            1 dead as Typhoon Kalmaegi dumps heavy rains over central Philippines
        
            Saudi Crown Prince bin Salman to visit Trump in White House
        
            Man charged with 10 counts of attempted murder after knife attack on UK train
        
            Tanzania's Hassan sworn into office after deadly election violence
        
            Powerful 6.3 quake kills at least 20 in Afghanistan, hundreds injured
        
            Turkey set to call for action on Gaza as soon as possible, source says
        
            Hamas hands over three more hostage bodies
        
            India federal agency freezes Anil Ambani Group's $853 million properties
        
                                    