Although they succeeded in repelling the Austro-Hungarian attack, the Serbs used up much of their ammunition during the battle, needing 6.5 million cartridges and 35,000 shells to prevail. The commander of the Serbian 2nd Army, General Stepa Stepanović, was promoted to the rank of field marshal (, ) for his successful command. In contrast, Austro-Hungarian commander Oskar Potiorek was humiliated in defeat and determined to launch a second invasion of Serbia. In September, he was given permission to launch such an invasion provided that he "not risk anything that might lead to a further fiasco." Defeat at Cer Mountain also affected the morale of the Austro-Hungarian troops. The first aerial dogfight of the war occurred during the battle, when Serbian aviator Miodrag Tomić encountered an Austro-Hungarian plane while performing a reconnaissance mission over enemy positions. The Austro-Hungarian pilot fired at Tomić with his revolver. Tomić managed to escape, and, within several weeks, all Serbian and Austro-Hungarian planes were fitted with machine-guns.