orphanage. As the idea of institutional care gained acceptance, formal rules appeared about how to place children into families: boys could become apprenticed to an artisan and girls might be married off under the institution's authority. Institutions informally adopted out children as well, a mechanism treated as a way to obtain cheap labor, demonstrated by the fact that when the adopted died their bodies were returned by the family to the institution for burial. This system of apprenticeship and informal adoption extended into the 19th century, today seen as a transitional phase for adoption history. Under the direction of social welfare activists, orphan asylums began to promote adoptions based on sentiment rather than work; children were placed out under agreements to provide care for them as family members instead of under contracts for apprenticeship. The growth of this model is believed to have contributed to the enactment of the first modern adoption law in 1851 by the Commonwealth of Massachusetts, unique in that it codified the ideal of the "best interests of the child". Despite its intent, though, in practice, the system operated much the same as earlier incarnations. The experience of the Boston Female Asylum (BFA) is a good example, which had up to 30% of its charges adopted out by 1888. Officials of the BFA noted that, although the asylum promoted otherwise, adoptive parents did not distinguish between indenture and adoption: "We believe," the asylum officials said, "that often, when children of a younger age are taken to be adopted, the adoption is only another name for service." Modern period Adopting to create a family The next stage of adoption's evolution fell to the emerging nation of the United States. Rapid immigration and the American Civil War resulted in unprecedented overcrowding of orphanages and foundling homes in the mid-nineteenth century. Charles Loring Brace, a Protestant minister, became appalled by the legions of homeless waifs roaming the streets of New York City. Brace considered the abandoned youth, particularly Catholics, to be the most dangerous element challenging the city's order. His solution was outlined in The Best Method of Disposing of Our Pauper and Vagrant Children (1859), which started the Orphan Train movement. The orphan trains eventually shipped an estimated 200,000 children from the urban centers of the East to the nation's rural regions. The children were generally indentured, rather than adopted, to families who took them in. As in