A violation of law is any act (or, less commonly, failure to act) that fails to abide by existing law. Violations generally may include both crimes and civil wrongs. Some acts, such as fraud, can violate both civil and criminal laws.
Examples of violations of law include:
Moving violation, any violation of law committed by a driver while the vehicle is in motion
Parking violation, parking a motor vehicle in a restricted place or an unauthorized manner
Willful violation, in U.S. law an act with intentional disregard for a regulation, statute and policy
Infraction, in United States law, minor or petty offenses that do not require jury trial
Infringement, various violations of laws or rights, usually used in the context of intellectual property