 Back in Shanxi, Liu Yuan built a multi-ethnic army and broke free from the Jin Dynasty.In 308, he declared himself emperor of the Han, a kingdom later named Zhao and known to historians as the Former Zhao.In 316, Liu Yuan's adopted son Liu Yao captured Emperor Min of Jin in Luoyang, ending the Western Jin Dynasty.