 Then in 304 CE the leader of the formerly independent ethnic nation of the Northern Xiongnu under its newly declared Grand Chanyu Liu Yuan (later Prince Han Zhao) declared independence, backed up with a large army which he fielded.Various other non-Chinese groups became involved, in what is known as the Wu Hu uprising, and by 316 the last Jin prince left standing, now as emperor, ruled an empire reduced to its former southern area.Thus, the history of the Jin dynasty can be divided in two parts, the first being Western Jin (265–316) and the second Eastern Jin (317–420).