The early Islamic Empire also had the highest literacy rates among pre-modern societies, alongside the city of classical Athens in the 4th century BC, and later, China after the introduction of printing from the 10th century. One factor for the relatively high literacy rates in the early Islamic Empire was its parent-driven educational marketplace, as the state did not systematically subsidize educational services until the introduction of state funding under Nizam al-Mulk in the 11th century. Another factor was the diffusion of paper from China, which led to an efflorescence of books and written culture in Islamic society; thus papermaking technology transformed Islamic society (and later, the rest of Afro-Eurasia) from an oral to scribal culture, comparable to the later shifts from scribal to typographic culture, and from typographic culture to the Internet. Other factors include the widespread use of paper books in Islamic society (more so than any other previously existing society), the study and memorisation of the Qur'an, flourishing commercial activity and the emergence of the Maktab and Madrasah educational institutions.