Two developments that led to people settling down in one place?

hunting and gathering