The fortified walls of a castle or walled city. Ramparts are generally built of stone, several feet thick, and are often topped by a defensive crenelation (a sawtooth battlement providing openings from which to fire).