Because there were few times during the later Middle Ages when popes and emperors were not squabbling, from the tenth century Bologna began to attract communities of lawyers—expert in either canon or civil law—who found the city a convenient base from which to attract business.