Judicial Yuan
He became involved with the Kuomintang. At the age of 29, Wei became the youngest president of the Judicial Yuan. From 1930 to 1931, Wei served as mayor of special municipality of Nanking, then capital of the Republic of China.