Gojković was the Minister of Defence of the Kingdom of Serbia from 4 March 1910 to 24 February 1911. He commanded Morava division 1st ban during the Battle of Cer and was criticized by the commander of the 2nd army, general Stepa Stepanović for lackluster performance on the first day of the battle, but performed well thereafter and contributed significantly to the Serbian victory.
Death
While traveling to the Salonica front, his boat was hit by a German torpedo boat near Sicily. Gojković refused to surrender and was killed while shooting back at the torpedo boat. He drowned in the Ionian Sea.[2]
Gojković was the highest ranking member of the Serbian Army that died in combat during the First World War.[3]