 He continued studies in law at the Belgrade Lyceum (1854–56), after which he at the end of 1856 moved to Paris where he finished the Law University in 1860.In 1861 he studied at Heidelberg, until returning to Belgrade at the end of 1861.He adopted the name "Piroćanac" during his school years.