With the German invasion of the USSR in 1941, Stalin reversed his long-standing opposition to Zionism, and tried to mobilize worldwide Jewish support for the Soviet war effort. A Jewish Anti-Fascist Committee was set up in Moscow. Many thousands of Jewish refugees fled the Nazis and entered the Soviet Union during the war, where they reinvigorated Jewish religious activities and opened new synagogues. In May 1947 Soviet Deputy Foreign Minister Andrei Gromyko told the United Nations that the USSR supported the partition of Palestine into a Jewish and an Arab state. The USSR formally voted that way in the UN in November 1947. However once Israel was established, Stalin reversed positions, favoured the Arabs, arrested the leaders of the Jewish Anti-Fascist Committee, and launched attacks on Jews in the USSR.