An analysis of the causes of corruption in the judiciary