Shortly before the WWI, the number of Jews permanently residing in the city increased to 55,686, which made up 49 % of its total population. World famous Rabbis lead the Jewish community of Daugavpils for several decades. Rabbi Meir Simcha HaCohen also known as Ohr Sameach (1843–1926) and Rabbi Yosef Rosen – Rogachover Gaon (1858–1936) were among them. The city Jewish community was revived in the late 1980s. At present about 400 Jews permanently reside in the city. Both religious and secular Jewish communities are currently in operation. The synagogue and several Jewish organizations are functioning in Daugavpils. Daugavpils and the whole of Latvia was under the Soviet Union rule between 1940–41 and 1944–1991, while Germany occupied it between 1941 and 1944. The Nazis established the Daugavpils Ghetto where the town's Jews were forced to live. Most were murdered.