Question: What position was held by the defeater of the last Song emperor of the country Liang Ji was in?

<P0-S0> The Song dynasty is divided into two distinct periods, Northern and Southern. <P0-S1> 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. <P0-S2> 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. <P0-S3> During this time, the Song court retreated south of the Yangtze and established its capital at Lin'an (now Hangzhou). <P0-S4> 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. <P0-S5> The Southern Song dynasty considerably bolstered its naval strength to defend its waters and land borders and to conduct maritime missions abroad. <P0-S6> To repel the Jin, and later the Mongols, the Song developed revolutionary new military technology augmented by the use of gunpowder. <P0-S7> In 1234, the Jin dynasty was conquered by the Mongols, who took control of northern China, maintaining uneasy relations with the Southern Song. <P0-S8> Möngke Khan, the fourth Great Khan of the Mongol Empire, died in 1259 while besieging the city of Chongqing. <P0-S9> His younger brother Kublai Khan was proclaimed the new Great Khan, though his claim was only partially recognized by the Mongols in the west. <P0-S10> In 1271, Kublai Khan was proclaimed the Emperor of China. <P0-S11> After two decades of sporadic warfare, Kublai Khan's armies conquered the Song dynasty in 1279. <P0-S12> The Mongol invasion led to a reunification under the Yuan dynasty (1271 -- 1368). <SEP> <P1-S0> Liang Ji (梁冀) (died 159), courtesy name Bozhuo (伯卓), was a politician and military commander of Han Dynasty China. <P1-S1> As a powerful consort kin, he dominated government in the 150s together with his sister, Empress Liang Na. <P1-S2> After his sister's death, Liang Ji was overthrown in a coup d'etat by Emperor Huan, with the support of the eunuch faction, in 159. <P1-S3> The Liang clan and the clan of his wife, Sun Shou (孫壽), were slaughtered. <SEP> <P2-S0> ``come a little closer ''is a song co-written and recorded by american country music artist dierks bentley. <P2-S1> it was released in july 2005 as the second single from his second studio album modern day drifter. <P2-S2> it went to number one on the u.s. country chart in 2005. the song held that position for the chart weeks of december 3 and december 10, 2005. on the chart for december 17, the song fell to number two when joe nichols'`` tequila makes her clothes fall off'' replaced it at the top spot. <P2-S3> the song then returned to number 1 for a third and final week on the chart dated december 24. the song was written by bentley and brett beavers. <SEP> <P3-S0> 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). <P3-S1> 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. <SEP> <P4-S0> in confucius's time, the state of lu was headed by a ruling ducal house. <P4-S1> under the duke were three aristocratic families, whose heads bore the title of viscount and held hereditary positions in the lu bureaucracy. <P4-S2> the ji family held the position ``minister over the masses '', who was also the`` prime minister''; the meng family held the position ``minister of works ''; and the shu family held the position`` minister of war''. <P4-S3> in the winter of 505 bc, yang hu -- a retainer of the ji family -- rose up in rebellion and seized power from the ji family. <P4-S4> however, by the summer of 501 bc, the three hereditary families had succeeded in expelling yang hu from lu. <P4-S5> by then, confucius had built up a considerable reputation through his teachings, while the families came to see the value of proper conduct and righteousness, so they could achieve loyalty to a legitimate government. <P4-S6> thus, that year (501 bc), confucius came to be appointed to the minor position of governor of a town. <P4-S7> eventually, he rose to the position of minister of crime.