It was the largest city that had existed in South America and remained that way even when it lay in ruins during part of the Spanish colonial period. At 18km2 by some measurements and more than 20km2 including its surrounding agricultural districts, this gigantic city formed the capital of the Chimor kingdom of the Chimú civilisation.