We are of opinion that the ruling in this case cannot be sustained. It is true that one in the pursuit of an unlawful ac- may sometimes be punished for another act done without design and by mistake, if the act done was one for which he could have been punished if done wilfully. But the act, to be unlawful in this sense, must be an act bad in itself, and done with
Besides, to prove the violation of such an ordinance, it is not necessary to show that it was done wilfully or corruptly. The ordinance declares a certain thing to be illegal; it therefore becomes illegal to do it, without a wrong motive charged or necessary to be proved; and the court is bound to administer the penalty, although there is an entire want of design. The King v. Sainsbury, 4 T. R. 451, 457. It was held in Commonwealth v. Worcester,
New trial granted
