In the 13th century, the university or municipal councils were set up with a structure established by Jaume I and Pere II. These governing bodies were assemblies of councillors, with representatives from the mà major, mà mitjana and mà menor, and an executive body consisting of a small number of magistrates known as jurymen, councillors or consuls. In Barcelona, the Consell de Cent Prohoms (council with 100 members) was elected each year and they chose from amongst the patricians five councillors who collected taxes for the council and for the king and who, in agreement with the mayor, regulated the skilled crafts, trade and supplies. They had powers in matters of policing, justice, health, public works, charity, prices and weights and measures.