 Later he became a member of the High Court in the Kingdom of Montenegro.Ivanović became a believer in Montenegrin unity with Serbia and in 1912 moved to Belgrade.He stayed there until king Nicholas I amnestied him and he returned once more to Montenegro.