 He commanded the V Corps in the Battle of Custoza, and after this victory he was officially promoted to the rank of Feldmarschall-Lieutenant and awarded the Knight's Cross of the Military Order of Maria Theresia.In 1869 he returned to Dalmatia as a military commander.He soon put down a rebellion in Kotor which helped him become governor of the Kingdom of Dalmatia in 1870.