靖康之变
This period ended in 1127 when the city fell to Jurchen invaders during the Jingkang Incident. It subsequently came under the rule of the Jurchen Jin dynasty, which had conquered most of North China during the Jin–Song Wars. While it remained an important administrative center, only the area inside the inner city wall of the early Song remained settled and the two outer rings were abandoned.