The city also soon recovered from the financial effects of the revolt. In the late 17th century Ioannina was a thriving city with respect to population and commercial activity. Evliya Çelebi mentions the presence of 1,900 shops and workshops. The great economic prosperity of the city was followed by remarkable cultural activity. During the 17th and 18th centuries, many important schools were established. Its inhabitants continued their commercial and handicraft activities which allowed them to trade with important European commercial centers, such as Venice and Livorno, where merchants from Ioannina established commercial and banking houses. The Ioannite diaspora was also culturally active: Nikolaos Glykys (in 1670), Nikolaos Sarros (in 1687) and Dimitrios Theodosiou (in 1755) established private printing presses in Venice, responsible for over 1,600 editions of books for circulation in the Ottoman-ruled Greek lands, and Ioannina was the centre through which these books were channeled into Greece. These were significant historical, theological as well as scientific works, including an algebra book funded by the Zosimades brothers, books for use in the schools of Ioannina such as the "Arithmetica" of Balanos Vasilopoulos, as well as medical books. At the same time these merchants and entrepreneurs maintained close economic and intellectual relations with their birthplace and founded charity and education establishments. These merchants were to be major national benefactors.