What followed is uncertain, for the sources of the life of Alroy each tell a different tale in which events are interwoven with legend. It is believed that Alroy and his followers were defeated, and Alroy was put to death. Despite Alroy's death, Jewish communities in Iran, particularly in Tabriz, Khoy and Maragheh continued to regard David Alroy as their messiah according to mathematician and historian Al-Samawal al-Maghribi.[4]