Umayyad conquest of Hispania
The "concelhos" probably formed after the expulsion of the Visigothic rulers by the Moors during the Umayyad conquest of Hispania. Towns were thus left free to govern themselves, and the population started to organize in councils ("concelhos" in Portuguese) in order to govern the town and surrounding lands. These were also a reminder of Roman municipalities.