While the mesolithic period was marked by widespread domestication of animals, it was in the neolithic era that agriculture practices became more prominent, inadvertently leading to the creation of permanent settlements.
For further reading check the following articles: