Government.
Since the agricultural revolution lead to people settling down in one place rather than being pastoral nomads, they formed a social hierarchy. Because of this, currency and trade were created and the government needed to be organized in order to not only prevent a monopoly of goods but to control the surplus and how the surplus was distributed.
Hope this helps!