 Two other noted Spanish kabbalists, Hananel ibn Askara and Shem Tov ibn Gaon, emigrated to Safed around this time.During the tolerant reign of Nassir Mahomet (1299–1341) Jewish pilgrims from Egypt and Syria were able to spend the festivals in Jerusalem, which had a large Jewish community.Many of the Jerusalem Jews occupied themselves with study of the codes and the kabbalah.