羊祜
In Confucius's time, the state of Lu was headed by a ruling ducal house. 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 , Yang Hu—a retainer of the Ji family—rose up in rebellion and seized power from the Ji family. However, by the summer of , the three hereditary families had succeeded in expelling Yang Hu from Lu. 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 (), Confucius came to be appointed to the minor position of governor of a town. Eventually, he rose to the position of Minister of Crime.