It was used for a local administrative and judicial position within a town council, corresponding to a present day city attorney or corporation counsel.
The main governing body or council of a colonial Spanish town or city within Viceroyalty of New Spain was the Ayuntamiento. It functioned as the town council, and had a varying range of administrative and judicial duties. The number of members of the council was generally based on the population of the municipality. 
Members serving on the council were: 
- 1 − 2 alcaldes (mayors) — one the "regular mayor" or municipal administrator, and the second an "executive mayor" or district administrator, who acted as head of the council.
- 4 − 12 regidors (councilmembers).
- 1 Alguacil (sheriff).
- 1 Síndico Procurador (city attorney−corporation counsel).
- Geoffrey Pivateau, "AYUNTAMIENTO," Handbook of Texas Online , accessed July 18, 2012. Published by the Texas State Historical Association.
- Tshaonline.org−Handbook of Texas Online: "Cabildo" entry, by Geoffrey Pivateau . accessed 18 July 2012.