 In 1666, during the reign of the Kangxi Emperor, the Viceroy's jurisdiction expanded to include Shanxi Province, hence it was renamed "Viceroy of Shan(xi)-Shaan(xi)" (山陝總督), with its headquarters in Xi'an.Shanxi was removed in 1672, and Sichuan was added again in 1680.In 1723, the Yongzheng Emperor ordered that all Viceroys who also held the position of Secretary of Defence (兵部尚書) would concurrently be appointed as Right Censor-in-Chief (右都御史) of the Detection Branch (都察院) in the Censorate.