sin, offend, do wrong, overstep, rebel, disobey, infringe, take the law into one's own hands, break the law, entrench on, encroach upon, write one's own ticket*, fly in the face of the law*.
See transgress in Webster's New World Roget's A-Z Thesaurus II