 As soon as he became major, he was assigned to be commander of staff of the 7th Infantry Division in Osijek, where he remained for four years.After that, he was assigned to Regiment in Prague as lieutenant colonel.Between 1900 and 1903 he was chief of Staff at the port city of Pula during which time he became colonel in 1901.