Nine people have been injured, four of them seriously, after a person released smoke bombs at a Taipei subway station and then attacked bystanders, the official Central News Agency said.
Taiwan Premier Cho Jung-tai confirmed the attack in comments on his Facebook page, without providing further details.
The attacker was suspected to have then killed himself, the Central News Agency said.
It was not immediately clear what the motive was.

Saudi coalition reports damage after Houthi missile threat towards Riyadh
Trump says historic summit with Xi, Putin already a 'win' before event
More than 47,000 evacuated in India ahead of Cyclone Akvan
Israel launches ground operation in central Gaza
Xi, Putin blast Western 'protectionism', sanctions as Trump lands in China