Hafsid dynasty
Under the Hafsid dynasty, which emancipated from the Almohads and their religious doctrine in 1236, the Jews reconstituted the communities that existed before the Almohad period. The dhimma was strict, especially in matters of dress, but systematic persecution, social exclusion and hindrance to worship had disappeared. New trades appeared: carpenter, blacksmith, chiseler or soap-maker; Some worked in the service of power, striking money, collecting customs duties or translating.