 Historian Edward Peters identifies a number of illegalities in Joan's first trial in which she had been convicted.The papal inquisition developed a number of procedures to discover and prosecute heretics.These codes and procedures detailed how an inquisitorial court was to function.