A judge (qadi) was in charge of the qadi's court ("mahkama"), also called the Sharia court. Qadis were trained in Islamic law, though not necessarily to a level required to issue fatwas. Court personnel also included a number of assistants performing various roles. Judges were theoretically independent in their decisions, though they were appointed by the ruler and often experienced pressure from members of the ruling elite where their interests were at play. The role of qadis was to evaluate the evidence, establish the facts of the case, and issue a verdict based on the applicable rulings of Islamic jurisprudence. The qadi was supposed to solicit a fatwa from a mufti if it was unclear how the law should be applied to the case. Since Islamic legal theory does not recognize the distinction between private and public law, court procedures were identical for civil and criminal cases, and required a private plaintiff to produce evidence against the defendant. The main type of evidence was oral witness testimony. The standards of evidence for criminal cases were so strict that a conviction was often difficult to obtain even for apparently clear-cut cases. Most historians believe that because of these stringent procedural norms, qadi's courts at an early date lost their jurisdiction over criminal cases, which were instead handled in other types of courts.