Later, Emperor Wu of Han constructed the Great Wall in a large scale. He had Yanmenguan Pass restored in 130BC, and the Qin Dynasty Wall renovated in 127BC. In order to protect the Hexi Corridor, he ordered the defensive line between Yongdeng County and Jiuquan in Gansu Province be built in 121BC.