From 1939 to 1940, the French Third Republic was at war with Nazi Germany. In 1940, the German forces defeated the French in the Battle of France. The Germans occupied the north and west of French territory and a collaborationist régime under Philippe Pétain established itself in Vichy. Wikipedia