A crime is a violation of a law.