Because of the severe restrictions on the number of Jews allowed to live in Hamburg (with the exception of the period of 1811–15,) until 1864, a major Jewish community developed in Altona starting in 1611, when Count Ernest of Schaumburg and Holstein-Pinneberg granted the first permanent residence permits to Ashkenazic Jews.