Chen Liangyu
Following the dismissal of Shanghai Party secretary Chen Liangyu in September 2006 due to a social security fund scandal, Xi was transferred to Shanghai in March 2007 where he was the party secretary there for seven months. In Shanghai, Xi avoided controversy and was known for strictly observing party discipline. For example, Shanghai administrators attempted to earn favour with him by arranging a special train to shuttle him between Shanghai and Hangzhou for him to complete handing off his work to his successor as Zhejiang party secretary Zhao Hongzhu. However, Xi reportedly refused to take the train, citing a loosely enforced party regulation which stipulated that special trains can only be reserved for "national leaders". While in Shanghai, he worked on preserving unity of the local party organisation. He pledged there would be no 'purges' during his administration, despite the fact many local officials were thought to have been implicated in the Chen Liangyu corruption scandal. On most issues Xi largely echoed the line of the central leadership.