How many years did the Song Dynasty last?

The Song Dynasty lasted for 319 years from 960 to 1279.

In 960, the generals of the Later Zhou Dynasty launched the Chenqiao Mutiny, supported Zhao Kuangyin, the military envoy of the Songzhou returned to Germany, as emperor, and established the Song Dynasty.

In 1125, the Jin State launched a large-scale southern invasion, which led to the humiliation of Jingkang. In the second year of Jingkang, that is, 1127, the Northern Song Dynasty was destroyed.

In 1127, King Kang Zhaogou ascended the throne in Yingtianfu, Nanjing, and established the Southern Song Dynasty.

The Song-Yuan War broke out in 1235, and the Yuan Dynasty captured Lin'an in 1276. After the Yashan Battle, the Southern Song Dynasty perished.

The Song Dynasty was founded for more than 300 years and fell twice, both due to foreign invasion. It was the only dynasty that did not suffer from internal strife.

Extended information:

Under the fierce attack of the Yuan army, Leizhou fell. The small court moved to Yashan. The Yuan army, led by the Han general Zhang Hongfan, followed closely behind and launched a general attack on Yashan. The Song army was defeated across the board. Zhao Bing, along with Lu Xiufu and more than 800 people from the Zhao and Song royal family, collectively jumped into the sea and committed suicide.

Zhang Shijie led the rest of the navy to break out and went to the foot of Hailing Mountain. He heard the sad news that Lu Xiufu had died for his country with Emperor Bing's brother on his back. Zhang Shijie was so grief-stricken that he fell into the sea. Patriotic soldiers and civilians threw themselves into the sea one after another. At this point (1279), the Song Dynasty was declared completely destroyed. Zhang Hongfan specially erected a monument here saying "Zhang Hongfan destroyed the Song Dynasty here".

Reference: Baidu Encyclopedia-Song Dynasty