section_path: History/Medieval Europe
section_name: Medieval Europe
paragraph_text: Medieval Europe
  
  Roman forts and hill forts were the main antecedents of castles in Europe, which emerged in the 9th century in the Carolingian Empire. The Early Middle Ages saw the creation of some towns built around castles. These cities were only rarely protected by simple stone walls and more usually by a combination of both walls and ditches. From the 12th century, hundreds of settlements of all sizes were founded all across Europe, which very often obtained the right of fortification soon afterward.
  
  The founding of urban centres was an important means of territorial expansion and many cities, especially in eastern Europe, were founded precisely for this purpose during the period of Eastern Colonisation. These cities are easy to recognise due to their regular layout and large market spaces. The fortifications of these settlements were continuously improved to reflect the current level of military development. During the Renaissance era, the Venetian Republic raised great walls around cities, and the finest examples, among others, are in Nicosia (Cyprus), Rocca di Manerba del Garda (Lombardy), and Palmanova (Italy), or Dubrovnik (Croatia), which proved to be futile against attacks but still stand to this day. Unlike the Venetians, the Ottomans used to build smaller fortifications but in greater numbers, and only rarely fortified entire settlements such as Počitelj, Vratnik, and Jajce in Bosnia.