In 1567, Emperor Maximilian II granted the town the privilege of allowing none but Catholics to dwell within its walls. By the 17th and 18th centuries, although the municipal authorities rented shops to Jews, the latter were permitted to remain in the town only during the day, and then only without their families. They lived outside in their own community, known as a "shtetl". By the beginning of the nineteenth century, only three or four Jewish families lived in the city.