Which innovation made the first permanent human settlements possible?

The invention of agriculture.