Since the beginning of Qom's history in the 7th century, the city has been associated with Shi'ism and set apart from the Sunni caliphate. Many Shi'i hadiths referred to Qom as a "place of refuge for believers," calling it a deeply religious place. After Fatima Masumeh's death in Qom and the construction of her Shrine, scholars began to gather in Qom and the city gained its reputation for religious learning. Today, Qom is still noted for its religious seminaries and organizations.