While the fairly large population was based on an agricultural economy, the city's location at the headwaters of the Marañón River, between the coast and the jungle, made it an ideal location for the dissemination and collection of both ideas and material goods.