 It was the Sephardim that built the first synagogue in Zamość in the 1590s as a wooden structure.In 1610, after restrictions prohibiting Jews from building synagogues from stone were rescinded, the current brick building was erected, taking eight years to complete.The original Sephardi community ceased to exist in the 1620s when it assimilated into the fledgling Ashkenazi community, following an economic crisis caused by the accumulation of bad debts by Polish debtors.