In 1944 when it became clear that the Allied Powers would win the war, Bulgaria had to find another solution. Their leaders declared that they withdrew from the Axis forces and helped the German army leave the Balkans through Bulgaria. The Soviet Union didn't respect Bulgaria's claim to be neutral. The Red Army invaded Bulgaria in September 1944. At the same time, a new pro-Soviet government took power in Sofia. At this point, the Jews were released from the ghettoes and concentration camps in Bulgaria. The new government joined the Allies, and the military started to attack the German army, which the Bulgarian government had helped to leave Bulgarian lands.