what were the chinese states doing during the time confucius lived
Confucius In Confucius's time, the state of Lu was headed by a ruling ducal house.[22] Under the duke were three aristocratic families, whose heads bore the title of viscount and held hereditary positions in the Lu bureaucracy. 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". 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. However, by the summer of 501 BC, the three hereditary families had succeeded in expelling Yang Hu from Lu.[23] 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. Thus, that year (501 BC), Confucius came to be appointed to the minor position of governor of a town. Eventually, he rose to the position of Minister of Crime.[24]
Yuan dynasty The Yuan dynasty (Chinese: 元朝; pinyin: Yuán Cháo), officially the Great Yuan[4] (Chinese: 大元; pinyin: Dà Yuán; Yehe Yuan Ulus[b]), was the empire or ruling dynasty of Mongolia established by Kublai Khan, leader of the Mongolian Borjigin clan. Although the Mongols had ruled territories including today's North China for decades, it was not until 1271 that Kublai Khan officially proclaimed the dynasty in the traditional Chinese style,[5] and the conquest was not complete until 1279. His realm was, by this point, isolated from the other khanates and controlled most of present-day China and its surrounding areas, including modern Mongolia.[6] It was the first foreign dynasty to rule all of China and lasted until 1368, after which the rebuked Genghisid rulers retreated to their Mongolian homeland and continued to rule the Northern Yuan dynasty.[7] Some of the Mongolian Emperors of the Yuan mastered the Chinese language, while others only used their native language (i.e. Mongolian) and the 'Phags-pa script.[8]