During the reign of Emperor Huizong, Cai Jing was impeached and ordered to retire in Hangzhou. Cai Jing collaborated with the eunuch-general Tong Guan to win back his place in the imperial court. After rising to prominence in politics and becoming chancellor at one point, Cai Jing introduced the policy of "huashigang" (), for officials to focus on offering precious gifts and tribute to the emperor. In 1102 and 1113, he introduced reforms to the taxation laws on tea and salt trading, as well as increasing human labour. Cai Jing's policies were unpopular among the common people and led to corruption in the government.