the wall was built to help keep out northern invaders like the mongols. smaller walls had been built over the years, but the first emperor of china, qin shi huang, decided that he wanted a single giant wall to protect his northern borders. the most well-known sections of the wall were built by ming dynasty. genghis khan, the founder of the mongol empire, was the only one who breached the great wall of china in its