A surplus in agriculture led to increased specialization of other types of production, such as weaving or pottery.