 After he attended gymnasium in Senj, he entered in Military School in Sankt Pölten, and later he attended Theresian Military Academy in Wiener Neustadt.In 1884 he got his first military post in the Königgrätz Regiment, and later he was transferred to 16th Infantry Regiment in Trebinje, Herzegovina.In 1886, he was stationed in Mostar in the 1.