What was Jiang's previous position before becoming the president of China?

He was the mayor of Shanghai and then became Communist Party secretary