government is elected

The government is elected by public and violation of law means public is denying the social rules and behaviors. We can say that laws are the cause long term social pattern which represent the behavior of society.