Original: After completing his studies at Salamanca was called to the bar.
Simplified: But on the return of Ferdinand VII he was put in prison at Pamplona from 1814 to 1820.