A person who takes part in a riot, armed with any offensive instrument is liable on conviction on indictment to imprisonment for 5 years.