 War between Northern Wei and Han-ruled Liu Song dynasty broke out while the former had not yet unified northern China.Emperor Wu of Liu Song while still a Jin dynasty general, has conquered both Southern Yan in 410 and Later Qin in 417, pushing Jin frontiers further north into Wei territories.He then usurped the Jin throne and created the Song dynasty.