While he studied law in St. Petersburg he learned about the writings of Karl Marx and Friedrich Engels, who were both philosophers from Germany. Karl Marx's thoughts were called Marxism. To talk or write about Marxism positively was illegal in Russia, and Lenin was arrested for that and sent to prison in Siberia. This punishment was harsh because Siberia is known for being very cold and isolated, and almost impossible to escape.