[1] He completed high school in Niš and graduated from the department of Philosophy at the University of Belgrade before embarking on an academic career.
It carries the story of Prince Miloš down to 1835, and a fourth volume was to have dealt with the close of his first reign, his exile and his triumphant return in 1858.
But unhappily the material which Gavrilović had amassed during the years of study and which would have enabled him to complete the work without much further effort, was irretrievably lost in a trunk which accompanied him during the painful retreat of the Serbian Army through Albania in the First World War (1915–1916), now remembered as the epic ”Albanian Golgotha“.
Using Austrian and Russian sources as well, Gavrilović, renowned for his methodical analysis and wider perspective on general historical developments, was considered the leading Serbian expert for diplomatic history.
[2] After the Yugoslav unification in December 1918, Gavrilović was appointed as Envoy of Kingdom of Serbs, Croats and Slovenes to London.