Hogarth first met Charles Dickens at age 14, and after Dickens married Hogarth's sister Catherine, Mary lived with the couple for a year.
Hogarth died suddenly in 1837, which caused Dickens to miss the publication dates for two novels: The Pickwick Papers and Oliver Twist.
Hogarth later became the inspiration for a number of characters in Dickens novels, including Rose Maylie in Oliver Twist and Little Nell in The Old Curiosity Shop.
Charles and Catherine Dickens' first child was named Mary in her memory.