 He then declared a change of the state's name from Shu to Han.In 917, a power struggle developed between Tang Wenyi, who was aligned with Zhang, and Mao.Based on Tang's accusations, Wang Jian exiled Mao and confiscated his assets, and also demoted the chancellor Yu Chuansu.