According to the tickets for access to the wall, construction of the wall, originally over 6 kilometers long, began in the Jin Dynasty (265-420) and was not finished until the Sui (581-618) and Tang (618-907) Dynasties.