A crime. Compare to private or civil wrongs that violate "private laws," for example, a contract between two parties. The difference between civil/private and criminal/public wrongs is that public offenses focus on the behavior of the offender while the law of civil wrongs focuses on making an injured person whole. (See also crime.)
Source: California Courts.