He took part in the
First World War, first in the
Austro-Hungarian army, and after May 1915 as an officer in the
Polish Legion. He commanded a regiment in the
Polish–Soviet War of 1919–1921. In 1925 he completed studies at a French military school in Paris and became the commander of the Supreme Military School in Warsaw. After Jozef Pilsudski's
coup d'état, he was dismissed from that post in 1927 and sent to command an infantry division in
Grodno.
World War II At the time of the outbreak of
World War II he was the commander of the IX Army Corps in
Brzesc in the rear operational zone. Yet soon the situation changed in view of massive enemy air raids and rapid advance of its armoured and mechanized troops. On 11 September 1939 his corps were transformed into the Operation Group Polesie, but were lacking in heavy equipment, and by 14 September were already in combat with the most advanced German troops. General Kleeberg managed to organize a defence by withdrawing dispersed units from under the strike of the German forces, but found many of his units also attacked by the Red army. He also managed to gather remnants of the Polish forces destroyed in the east to Vistula and south-east to Narew into a new grouping, with which he tried to break through towards besieged Warsaw. After hearing of Warsaw's capitulation, he dug his troops in, resulting in the
battle of Kock. On 5 October 1939 General Kleeberg decided to surrender, as his forces were out of ammunition and food. ==Death==