Acts that are forbidden by law, or the omission of duties that are required by law, which make the offender liable to punishment by that law.