 In 931 AD, Caliph Al-Muqtadir learned of the death of one of his subjects as a result of a physician's error.He immediately ordered his muhtasib Sinan ibn Thabit to examine and prevent doctors from practicing until they passed an examination.From this time on, licensing exams were required and only qualified physicians were allowed to practice medicine.