Rampart

A defensive stone or earth wall surrounding castle or town.