The "Qing Code" was in form exclusively a criminal code. Its statutes throughout stated as prohibitions and restrictions, and the violation of which was subjected to a range of punishments by a legalist state. In practice, however, large sections of the code and its sub-statutes dealt with matters that would properly be characterised as civil law. The populace made extensive use (perhaps a third of all cases) of the local magistrate courts to bring suits or threaten to sue on a whole range of civil disputes, characterized as "minor matters" in the "Qing Code". Moreover, in practice, magistrates frequently tempered the application of the code by taking prevalent local custom into account in their decisions. Filed complaints were often settled among the parties before they received a formal court hearing, sometimes under the influence of probable action by the court.