Die deutsche Ideologie
By the time he wrote "The German Ideology" (1846), Marx viewed the state as a creature of the bourgeois economic interest. Two years later, that idea was expounded in "The Communist Manifesto":