What dynasty was the great wall rebuilt?

Ming Dynasty