The Song dynasty (960–1279) split into two distinct eras due to the Jurchen‑led Jin dynasty's invasion of northern China in 1127:
Capital: Bianjing (present‑day Kaifeng, Henan). The dynasty ruled a unified China from the north.
After losing the north to the Jin, the court fled south and established a new capital at Lin'an (present‑day Hangzhou, Zhejiang). The dynasty continued as a southern regime until the Mongol conquest.