A rampart in fortification architecture is a length of bank or wall forming part of the defensive boundary of a castle, hillfort, settlement or other fortified site. It is usually broad-topped and made of excavated earth or masonry or a combination of the two.