A man brandishing a sword was arrested Wednesday as he stripped near a school.

Police say they were called around 2 p.m. about a suspicious man carrying a sword in Ancaster. The man himself also called police to say he had edged weapons and was going to buy more.

Officers found the man on parkland next to Bishop Tonnos School on Panabaker Drive.

The man refused to drop the sword and started to remove his clothes, police say. Officers shocked the sabre-toting man with a Taser and arrested him.

A 20-year-old Ancaster man has been arrested. He was taken to the hospital and treated for minor injuries. Charges are pending.

There was no indication students or staff from the school were associated with the incident, police note.