The historical legal principles governing the treatment of prisoners of war, in shar'iah, Islamic law, (in the traditional madhabs schools of Islamic jurisprudence), was then a significant improvement over the pre-existing norms of society during Muhammad's time (see Early reforms under Islam). Men, women, and children may all be taken as prisoners of war under traditional interpretations of Islamic law. Generally, a prisoner of war could be, at the discretion of the military leader, freed, ransomed, exchanged for Muslim prisoners, or kept in bondage. In earlier times, the ransom sometimes took an educational dimension, where a literate prisoner of war could secure his or her freedom by teaching ten Muslims to read and write. Some Muslim scholars hold that a prisoner may not be ransomed for gold or silver, but may be exchanged for Muslim prisoners.