Specific crimes and the consequences for violating them are found in penal codes enacted by legislators at the local, state, and federal levels. Less serious crimes are classified as misdemeanors. These typically carry a maximum of up to one year in the county jail. Examples include petty theft, possession of small amounts of controlled substances, and first-offense drunk driving.