The story of Dantès' imprisonment in the Château d'If was likely inspired by the imprisonment of Gen. Thomas-Alexandre Dumas (Alexandre Dumas, "père"'s own father) in a dungeon fortress in Taranto, Italy, in 1799–1801.