The Germans freed Mussolini in the Gran Sasso raid (12 September 1943) and set him up as the leader of the Italian Social Republic (RSI) puppet state that kept fighting the Allies until it collapsed when the German forces in Italy surrendered in the spring of 1945.