Born into slavery in 1789, Josiah Henson was purchased as a child by Adam Robb and transferred to the Riley plantation in 1795. The Riley family enslaved him for more than 30 years until he escaped with his wife and children from Kentucky to Canada. In 1849, he published a narrative of his life in slavery that recounted the labor and suffering he endured there. Henson later became internationally known, traveled widely to share his story, and worked to build a better life for former slaves from the U.S. living in his Dawn Settlement in Ontario. Harriet Beecher Stowe began writing Uncle Tom's Cabin in 1849, and later identified Henson, whom she called "the venerable Josiah Henson" and said was raised in Maryland, as one inspiration for the character Uncle Tom; she also wrote the preface to the 1858 edition of his expanded narrative. From 1634 until Maryland abolished slavery in 1864, chattel slavery was legal in the state, and the labor of enslaved people of African descent underpinned its economy. As agricultural changes in the early 1800s reduced dependence on slavery, Marylanders expanded their role in the domestic slave trade, often separating enslaved families through sales to Deep South plantations, as happened among people enslaved by the Riley family.