Charles Dickens was born on 1812, in Portsea, England. His parents were middle-class, but they suffered financially as a result of living beyond their means. When Dickens was twelve years old, his family's dire straits forced him to quit school and work in a blacking factory, a place where shoe polish is made. Within weeks, his father was put in debtor's prison, where Dickens's mother and siblings eventually joined him. At this point, Dickens lived on his own and continued to work at the factory for several months.
The horrific conditions in the factory haunted him for the rest of his life, as did the experience of temporary orphanhood. Apparently, Dickens never forgot the day when a more senior boy in the warehouse took it upon himself to instruct Dickens in how to do his work more efficiently. For Dickens, that instruction may have represented the first step toward his full integration into the misery and tedium of working-class life. The more senior boy's name was Bob Fagin. Dickens's residual resentment of him reached a fevered pitch in the characterization of the villain Fagin in Oliver Twist.
After inheriting some money, Dickens's father got out of prison and Charles returned to school. As a young adult, he worked as a law clerk and later as a journalist. His experience as a journalist kept him in close contact with the darker social conditions of the Industrial Revolution, and he grew disillusioned with the attempts of lawmakers to alleviate those conditions. A collection of semi-fictional sketches entitled Sketches by Boz earned him recognition as a writer. Dickens became famous and began to make money from his writing when he published his first novel, The Pickwick Papers, which was serialized in 1836 and published in book form the following year.