Complex sentence: On January 10,1754, he was appointed Attorney general of Buenos Aires, and in 1759 he served as city Treasurer, a position he occupied until 1763.
Split into simpler sentences: On January 10,1754, he was appointed Attorney general. In 1759 Esparza served as Treasurer in the city, a position he occupied until 1763.