France was part of the Allied force that occupied the Rhineland following the Armistice. Foch supported Poland in the Greater Poland Uprising and in the Polish–Soviet War and France also joined Spain during the Rif War. From 1925 until his death in 1932, Aristide Briand, as Prime Minister during five short intervals, directed French foreign policy, using his diplomatic skills and sense of timing to forge friendly relations with Weimar Germany as the basis of a genuine peace within the framework of the League of Nations. He realized France could neither contain the much larger Germany by itself nor secure effective support from Britain or the League.