After the loss of so much of the learning of the past, the destruction of manuscripts and the slaughter of scholars, it was more important to recover what had been lost than to inaugurate more change. Because the Mongol military code made no provision for civil society, the ulama continued to govern the lives of the faithful, and their influence tended to be conservative. Where Sufis such as Rumi believed that all religions were valid, by the fourteenth century the ulama had transformed the pluralism of the Quran into a hard communalism, which saw other traditions as irrelevant relics of the past. Non-Muslims were forbidden now to visit the holy cities of Mecca and Medina, and it became a capital offence to make insulting remarks about the Prophet Muhammad. The trauma of the invasions had, not surprisingly, made Muslims feel insecure. Foreigners were not only suspect; they could be as lethal as the Mongols.