The suspect, who appeared to be in his 50s and identified only by his surname Yang, was detained after police Swat team responds to calls from public, according to local reports.
One police officer was also injured while trying to nab the suspect, who was attacking people at random in the Suntai Road area of the city.