sentences:  This way they would not have to pay money to the state, nor keep the Buddhist precepts since they were not real clergy.With an uneven balance of clergy and civilians, the state lost a major source of taxes and military personnel.During the Prime-Ministry of Neo-Confucian "Reformer" Wang Anshi (1021-1086), the state began to take on social welfare functions previously provided by Buddhist monasteries, instituting public orphanages, hospitals, dispensaries, hospices, cemeteries, and reserve granaries.