 After graduating, he worked as an engineer and briefly enjoyed a lavish lifestyle, translating books to earn extra money.In the mid-1840s he wrote his first novel, "Poor Folk", which gained him entry into St. Petersburg's literary circles.Arrested in 1849 for belonging to a literary group that discussed banned books critical of Tsarist Russia, he was sentenced to death but the sentence was commuted at the last moment.