Charles Dickens was born in Landport, Hampshire, during the new industrial age, which gave birth to theories of Karl Marx. Dickens's father was a clerk in the navy pay office. He was well paid but often ended in financial troubles. In 1814 Dickens moved to London, and then to Chatham, where he received some education. The schoolmaster William Giles gave special attention to Dickens, who made rapid progress. In 1824, at the age of 12, Dickens was sent to work for some months at a blacking factory, Hungerford Market, London, while his father John was in Marshalea debtor's prison. "My father and mother were quite satisfied," Dickens later recalled bitterly. "They could hardly have been more so, if I had been twenty years of age, distinguished at a grammar-school, and going to Cambridge." Later this period found its way to the novel LITTLE DORRITT (1855-57). John Dickens paid his £40 debt with the money he inherited from his mother; she died at the age of seventy-nine when he was still in prison.