 He spent four years in a Siberian prison camp, followed by six years of compulsory military service in exile.In the following years, Dostoevsky worked as a journalist, publishing and editing several magazines of his own and later "A Writer's Diary", a collection of his writings.He began to travel around western Europe and developed a gambling addiction, which led to financial hardship.