The first aerial dogfight occurred during the Battle of Cer (15–24 August 1914), when Serbian aviator Miodrag Tomić encountered an Austro-Hungarian plane while performing a reconnaissance mission over Austro-Hungarian positions. The Austro-Hungarian pilot initially waved, and Tomić waved back. The Austro-Hungarian pilot then fired at Tomić with his revolver.  Tomić produced a pistol of his own and fired back. Tomić managed to escape, and within several weeks, all Serbian and Austro-Hungarian planes were fitted with machine-guns.