Security for keeping peace on conviction
41.—(1)  When a person is charged with and convicted of —
(a)rioting, assault or any other breach of the peace or abetting any such offence;
(b)an offence under section 143, 144, 145, 153 or 504 of the Penal Code 1871, under section 13A, 13B, 13C or 13D of the Miscellaneous Offences (Public Order and Nuisance) Act 1906 in force before 15 November 2014 or under section 3, 4, 5 or 6 of the Protection from Harassment Act 2014;
(c)assembling armed men or taking other unlawful measures for such purpose; or
(d)committing criminal intimidation by threatening injury to any person or property,
and the court before which that person is convicted believes that that person must execute a bond for keeping the peace, then the court may, at the time of passing sentence on that person, or instead of any sentence, order that person to execute a bond for a sum proportionate to that person’s means, with or without sureties, for keeping the peace for a period not exceeding 2 years.
[17/2014; 5/2015]
(2)  If the conviction is set aside on appeal or otherwise, the bond so executed becomes void.