The Emperor of the Han Dynasty, Emperor Gaozu, lived for about 66 years, he ruled for 61 years, one of the longest rules of china. But unlike the Song and Tang dynasty, they didn't have Neo-Confucianism.
The Han dynasty's reason of collapse was caused by an attcak in which they failed. Cao Cao was the general of this army, he was fighting another region for reuniting the han dynasty, he was defeated and soon enough the Han dynasty collapsed.
A rebellion was made as well which weakened the Han Dynasty, the yellow turbane rebellion began, people gathered one by one and soon enough they attacked, it devestated the Han Dynasty.
Emperor Gaozu was then wounded by a stray arrow during the campaign against Ying Bu, he became seriously sick and he ordered his gaurds to remain at his room where he waited. He soon died by this illness.
Following the Tang dynasty that started after the Han Dynasty, the song dynasty was ruled by Emperor Taizu. He ruled for seventeen years of his life and he lived a 49 years. He made a bundle contributions to china, and he carried on Neo-Confucianism from the Tang dynasty.
The Song dynasty lasted from 960 to 1279, about 319 years. The Jin dynasty attacked the Song Dynasty, and because of the Song Dynasty's weak military, they fell.