The sultans sponsored a new, vital Muslim society that once again reshaped the religious landscape of Anatolia, this time with mosques and minarets. The Mongol attacks of the 1240s, ironically, would help make possible the rise of a new Turkish Muslim dynasty, the Ottomans.