A rampart is a defensive or protective barrier, especially a protective wall around a castle or city made of stone with a broad top that serves as a walkway.