A man with a machete was arrested Sunday while walking with a group of "Occupy Tampa" protesters near the Republican National Convention, police say.

Police said officers spotted the man who allegedly had a machete strapped to his leg while inside the first security perimeter. The Hillsborough County Sheriff's Office says deputies ordered 31-year-old Jason Wilson to stop but he kept walking.

When deputies caught up to him, police say he said told them he did not have to stop and that he was allowed to carry whatever he wanted. Weapons are prohibited in areas police have designated as "event zones."

Police say Wilson of Tallahassee resisted arrest but was subdued and taken to the Hillsborough County Sheriff's Office. He faces charges of carrying a prohibited item in the event zone and resisting arrest.

He'll have a court appearance Monday morning

The Associated Press contributed to this report.