Original: For being unsuccessful here, he remained in ram's office until 1861 even though he was banned from practicing law in 1857.
Simplified: As he was unsuccessful, he remained in ram's office until 1861 although he was banned from practicing law in 1857.