Quebec City — A man dressed in medieval clothing and armed with a Japanese sword was arrested Sunday on suspicion of killing two people and wounding five others on Halloween near the historic Château Frontenac hotel in Quebec City.

The attack on randomly chosen victims went on for nearly 2 1/2 hours while police pursued the man armed with a katana throughout the city’s downtown core on foot, Quebec Police Chief Robert Pigeon said.

Police said their initial information indicated the suspect’s motive was personal and not terrorism.

“Last night