Through their labor in the production of silk, women had an important place in the economy of China. The government encouraged this as a legitimate female occupation from the Shang dynasty into the 19th century. It gave women a position in society outside of the family structure wherein they could support themselves.