Dukes, administrators, and clergy lived in towns rather than isolated castles, absorbing the hinterland into communes, forerunners of the city-states.
Isolated castles were passed up on in favor of living in small towns by dukes and clergy.