The Castilian cabildo has some similarities to the ancient Roman municipium and civitas—especially in the use of plural administrative officers and its control of the surrounding countryside, the territorium—but its evolution is a uniquely medieval development. With the collapse of the Western Roman Empire and the establishment of the Visigothic Kingdom, the ancient municipal government vanished. In many areas, seeking to escape from the political instability around them, people entrusted themselves to large landholders, exchanging their service for the landholder's protection, in a process that ultimately led to feudalism. (See also, Manorialism.) In areas where the old territoria survived, the Visigothic kings appointed a single officer, called either a comes or a iudice to replace the defunct municipia or civitates. After the Muslim conquest, the new rulers also appointed various judicial officers to manage the affairs of the cities. Qadis heard any cases that fell under the purview of Sharia law and sahibs oversaw the administration of the various other areas of urban life, such as the markets and the public order.O'Callaghan, A History of Medieval Spain, 30, 61-62, 142-143.
