Who said “The history of all hitherto existing society is the history of class struggles”?

Who said “The history of all hitherto existing society is the history of class struggles”?

A. Hegel
B. Marx
C. Max Weber
D. Arendt