 Emperor Wendi of the Sui Dynasty opened the Emperor for nine years (AD 589).In the twelve years since the founding of the Emperor, the prefecture was changed to Kuozhou, and Lecheng County of the province entered Yongjia County, which belonged to Kuozhou Yongjia County.In the three years of Emperor Yangdi (AD 607), the state was changed to a county, and Kuozhou was changed to Yongjia County.