After the creation of the Border Defence Corps (KOP), on October 10, 1924 he became the commanding officer of the 2nd Brigade of that force, based in Baranowicze. The following year he was transferred to the same post in the 1st Brigade of the KOP based in Zdołbunów. Sent to the Higher War School in Warsaw, on March 19, 1927 he was promoted to the rank of Brigadier General and became the commanding officer of the 10th Infantry Division. Promoter of order, cleanness and mustering, he was generally disliked by his subordinates. At the same time he proved to be a skilled organizer and an outstanding rear-line commander. Because of that between 1935 and 1937 he served as director of Państwowy Urząd Wychowania Fizycznego i Przysposobienia Wojskowego (The National Office of Physical Education and Military Training) and then in January 1938, he was made the commander of the Grodno-based 3rd Military Area Command (DOK III). Soon before the outbreak of the Polish Defensive War the DOK III was converted into the Grodno Operational Group.