This episode flashes back and forward between Casanova finally managing to escape from his prison cell and him trying to write his memoires in Castle of Duchcov near the end of his life as an old, dying man.