In this task, you are given a question and a context passage. You have to answer the question based on the given passage.

Which happened first, Paris workers built barricades and raised red flags or Karl Marx published the Communist Manifesto?, Context: Karl Marx published the Communist Manifesto in February 1848, with little attention. However, a few days later the French Revolution of 1848 broke out, which replaced the monarchy of Louis Philippe with the Second French Republic. In June 1848, Paris workers, disenchanted with the new government, built barricades and raised red flags. The new government called in the French Army to put down the uprising, the first of many such confrontations between the army and the new worker's movements in Europe.
Karl Marx published the Communist Manifesto