The first castles were simply 'mounds' of earth, and medieval castle designs improved on these basics – adding ditches in the Motte & Bailey design. As technology advanced – and as attackers got more sophisticated – elaborate concentric castle designs emerged, creating a fortress almost impregnable to its enemies.