How did improved farming lead to the development of government?
Government developed to help manage the surplus of food, which occurred because of improved farming.
As farmers learned to improve their farming, they became smarter and learned how to form a government.
Because there was more food for the farmers, they became healthy and better able to lead the people in government.
Improved farming led to some farmers becoming wealthy, which led to them ruling others.