Both of the parents died in the early 1810s as victims of epidemic brought by Napoleon's soldiers retreating from Moscow; the orphaned children were taken into custody by their mother's brother, Dr. Hoffman, a man of the law.