Question: who came up with the theory of socialism?
Answer: The Communist Manifesto was written by Karl Marx and Friedrich Engels in 1848 just before the Revolutions of 1848 swept Europe, expressing what they termed scientific socialism. In the last third of the 19th century, social democratic parties arose in Europe, drawing mainly from Marxism.