When Emperor Leopold I deported the Viennese Jews in 1670, many upper-class Jewish families moved to Fürth, and by 1716 there were about 400 Jewish families in the town. In 1807, the proportion of Jews in the overall population was about 19%. Following the Mediatization and the Bavarian "Judenedikt" (Jewish Edict) of 1813, there were more restrictions on Jews. In particular, the "Matrikelparagraph" provisions prevented Jewish immigration. In 1824, the Talmudic academy was closed. The Bavarian "Judenedikt" of 1813, with its restrictions on Jewish life and Jewish immigration was rescinded by the law of 29 June 1851, and further laws dated 16 April 1868, and 22 April 1871, which led to further emancipation of the Jews, and restrictions on residence were removed. By 1840, there were 2535 Jews living in Fürth, more than half of all Bavarian Jews.