In 1959, when Mao Zedong resigned as head of state, he was replaced by Liu Shaoqi.