The Cultural Revolution, formally the Great Proletarian Cultural Revolution, was a sociopolitical movement in China from 1966 until 1976. Launched by Mao Zedong, then Chairman of the Communist Party of China, its stated goal was to preserve Chinese Communism by purging remnants of capitalist and traditional elements from Chinese society, and to re-impose Mao Zedong Thought (known outside China simply as Maoism) as the dominant ideology within the Party. The Revolution marked Mao's return to a position of power after the failures of his Great Leap Forward. The movement paralyzed China politically and negatively affected both the economy and society of the country to a significant degree. An estimated 500,000 to 2,000,000 people were killed.The movement was launched in May 1966, after Mao alleged that bourgeois elements had infiltrated the government and society at large, aiming to restore capitalism. To eliminate his rivals within the Communist Party of China (CPC), Mao insisted that revisionists be removed through violent class struggle. China's youth responded to Mao's appeal by forming Red Guard groups around the country. The movement spread into the military, urban workers, and the Communist Party leadership itself. It resulted in widespread armed clashes between conservative and radical factions in all walks of life, as a result of Mao's open call for "all-round civil war" against the conservatives in the communist party establishment. In the top leadership, it led to a mass purge of senior officials, most notably Liu Shaoqi and Deng Xiaoping. During the same period, Mao's personality cult grew to immense proportions.
The Song dynasty is divided into two distinct periods, Northern and Southern. During the Northern Song (Chinese: 北宋; 960 -- 1127), the Song capital was in the northern city of Bianjing (now Kaifeng) and the dynasty controlled most of what is now Eastern China. The Southern Song (Chinese: 南宋; 1127 -- 1279) refers to the period after the Song lost control of its northern half to the Jurchen Jin dynasty in the Jin -- Song Wars. During this time, the Song court retreated south of the Yangtze and established its capital at Lin'an (now Hangzhou). Although the Song dynasty had lost control of the traditional ``birthplace of Chinese civilization ''along the Yellow River, the Song economy was still strong, as the Southern Song Empire contained a large population and productive agricultural land. The Southern Song dynasty considerably bolstered its naval strength to defend its waters and land borders and to conduct maritime missions abroad. To repel the Jin, and later the Mongols, the Song developed revolutionary new military technology augmented by the use of gunpowder. In 1234, the Jin dynasty was conquered by the Mongols, who took control of northern China, maintaining uneasy relations with the Southern Song. Möngke Khan, the fourth Great Khan of the Mongol Empire, died in 1259 while besieging the city of Chongqing. His younger brother Kublai Khan was proclaimed the new Great Khan, though his claim was only partially recognized by the Mongols in the west. In 1271, Kublai Khan was proclaimed the Emperor of China. After two decades of sporadic warfare, Kublai Khan's armies conquered the Song dynasty in 1279. The Mongol invasion led to a reunification under the Yuan dynasty (1271 -- 1368).
Kublai (; ; ) was the fifth Khagan (Great Khan) of the Mongol Empire ("Ikh Mongol Uls"), reigning from 1260 to 1294 (although due to the division of the empire this was a nominal position). He also founded the Yuan dynasty in China as a conquest dynasty in 1271, and ruled as the first Yuan emperor until his death in 1294.

Question: What position was held by the person who defeated the last song emperor of the country where The Cultural Revolution took place?
Answer: Khagan