The punishment was changed to a sentence of exile and hard labour, but not before they were forced to go through a mock execution. In 1859 a new tsar allowed Dostoyevsky to end his Siberian exile. A year later he was back in St Petersburg. The experience had cost him ten years of his life. It is the root of all his writing.