in 1998, wei was named the deputy party chief of shangluo, which was converted from a prefecture to a city in 1998. wei was named mayor of the newly formed city. in 2005, he became party chief. in 2007, he was named a member of the provincial party standing committee, and in december became the secretary-general of the shaanxi party committee.