Confucius is one of the greatest philosophers in the world. He established a moral and ethical code that helped to govern China for generations. He established the first public schools so that education would be available to everybody instead of only the upper class; however, since the education was so intense it was difficult for individuals from the lower classes to be able to afford the education. His teachings also helped change the way the government was run and organized. He edited and compiled the five classics, which became the foundation of his educational and philosophical teachings. Individuals who had passed the civil service examination were given posts based on their scores rather then on family connections, this helped increase attendance at schools as people studied to pass those exams since the questions were based on those five classics (Twitchett, 75). Confucius lived in a time in which the social order of China was disintegrating. His teachings were focused on the ability to ritualize life; one of the main focuses of those teachings was that the majority of the problems in society were the result of individuals forgetting their proper station in life. In order to maintain harmony every individual needed to know how to react in any social situation. He established five social relationships. They included: ruler and ruled, husband and wife, parents and children, older and younger brothers, and between friends (Twitchett, 75). By teaching these relationships the society became much ritualized with every social interaction based on these teachings. His teachings created a lasting religion while promoted increased social harmony also resulted in the subjection of women to the will of either their husband or father (Croll, 721). In the teachings of Confucius the authority of the husband over his wife was established (Croll, 721). This was done with the intent of increasing the strength of the slave owners and resulted in classifying the relationship between a husband and wife as the same relationship between a master and a slave (Croll, 721). The males decreased the roles that they were eligible to play in the society in order to continue control the female portion of the population. This allowed the males to create a society in which females could be used to consolidate power through marriage or given as gifts. This was also a way to provide minimal protection to the females by placing the responsibility for their safety onto the males related to them. One of the foundations of Confucianism is “the subordination of women to men was one of the supreme principles of government” and “the relations between husband and wife, like those between king and minister and between father and son, were all, as those between master and servant, universal under Heaven” (Croll, 722). The basis of the ethical codes taught to the women of China during this time known as the “four virtues” were developed (Croll, 722). Peasant rebellions are believed to include platforms in which the restrictions placed on women were opposed and at least one of those rebellions was led by a female (Croll, 723). With this understanding and research the women of China had overcome one of the flaws in Confucianism that women should remain at home focused on their husbands and family