Original: He then tried to get an academic post with the University of Zagreb, but was unsuccessful, so he remained in Å ram's office until 1861 even though he was banned from practicing law in 1857.
Simplified: He then tried to get an academic post with the University of Zagreb. As he was unsuccessful, he remained in Å ram's office until 1861 although he was banned from practicing law in 1857.