afterwards he was a cordoba's messenger an accountant a judge and a royal treasury officer