The earliest defensive border walls date from the Eastern Zhou Dynasty (770-256 BC) and featured deep trenches to stop charging Mongol horses.