Criminal law in Afghanistan continues to be governed in large part by Sharia. The 1976 Criminal Code introduced a quasi-secular system for all tazir offenses, but provided for application of hudud, qisas and diya according to the principles of Hanafi jurisprudence. In practice, as of 2003, the 1976 code was not widely applied, and virtually all courts, including the Supreme Court of Afghanistan, relied on Sharia directly.[94]