There were in fact two city wall systems. The ancient one and the one that was built later when many citizens had built their homes outside the old walls.