From 30 September 1923 to 1924 he held the post of Chief Inspector of Infantry ("Generalny Inspektor Piechoty"). From 17 February 1924 to 1925, under Prime Minister Grabski, he was Minister of Military Affairs and guided the modernization of the Polish military; he also created the Korpus Ochrony Pogranicza. He worked actively to promote the cause of the Polish-French military alliance. His proposal to increase the powers of the Minister of Military Affairs while reducing those of the Chief Inspector of the Armed Forces met with sharp disapproval from Piłsudski, who at that time was gathering many opponents of the current government. From 1925 to 1928 Sikorski commanded Military Corps District ("Okręg Korpusu") VI in Lwów.