Judaism have been restricted in Europe since a long time ago. In 1492 resp '97 the Spanish and Italian nations forbid Judaism within its borders, and this spread.
However in the 1600s the Dutch let Jews settle within their country in exchange of large charges. From Holland Jews moved to Scandinavia. Rembember at this time religion was fundamental, so to speak, and Sweden was a protestant country and according to the law, only Protestantism was allowed. Therefore the first Jews were allowed to settle if they were baptized. The ideas of the Enlightening spread to Sweden and in 1782 Gustav III (a king who was very addicted to the French Englightening) allowed Jews to settle in Stockholm, Karlskrona, Göteborg and Norrköping witout having to convert. The Jews got full citizenship in France after the revolution, 1832 in the UK, 1838 in Sweden and 1848 in various other countries.