How was xi'an city wall made?

Can you answer this question?