So important already was the city that its ayuntamiento had the powers of a Spanish city of the second class.
It was created a villa with an ayuntamiento (city council) in 1743.
In the municipality the alcalde (mayor) was appointed by the governor-general, and the ayuntamiento (council) was controlled by the veto of the provincial governor and by the assembly of the province.
The local authorities were divided among themselves by bitter feuds - the ecclesiastical against the civil, the ayuntamiento against the governors, the administrative officers among themselves; brigandage, mutinies and intestinal struggles disturbed the peace.
In the next year it received an ayuntamiento (council).
Some years later the bishop of Puebla, Juan de Palafox y Mendoza, transferred many native congregations from the friars to secular priests, and subsequently, in 1647, came into conflict with the Jesuits, whom he excommunicated, but who eventually triumphed with the aid of the Dominicans and the archbishop. The power of the church may be judged from the petition of the Ayuntamiento of Mexico to Philip IV.
In1835-1839" San Francisco " had an ayuntamiento (town-council), and the different municipal officers seem to have been located at the same or different times at the mission, the presidio, or at Yerba Buena; the name San Francisco being applied indifferently to all three settlements.
The ayuntamiento, apparently recognizing the future of Yerba Buena, granted lots there, and as the older settlements .decayed Yerba Buena throve.
Every commune or municipality has its own elected ayuntamiento, which has complete control over municipal administration, with power to levy and collect taxes.