The medieval period saw an upswing of castles as feudal lords and kings sought to secure their territories from enemy invasions. These structures started out from simple wooden structures to more elaborate stone fortresses that incorporated defensive features along the lines of moats, drawbridges, and ramparts. castel lipuglia