Why was the development of agriculture important in human history?

Growing crops and domesticating animals gave former hunters and gatherers the leisure time to develop legal systems, art, and governments.