 The Eastern Wei continued for 16 years before it was replaced by the Northern Qi.Though Northern Qi held only half the territory of the Northern Wei, it had 105 prefectures.The Sui Dynasty united China in 589 and did not use prefecture as a unit of administration.