How did Kari Marx view history?

Karl Marx viewed history as a continuous struggle between social classes, particularly between the proletariat (working class) and the bourgeoisie (owning class). He believed that historical developments were driven by conflicts over resources and power, ultimately leading to changes in the economic system. Marx also saw history as moving towards a classless society where the means of production were collectively owned and controlled by the workers. Overall, Marx viewed history as a series of stages of development, ultimately leading to the overthrow of capitalism and the establishment of socialism.