The earliest known city, Los Millares, dates to the Copper Age and is strategically located on a spur of rock between the Andarax River and the Huéchar Ravine (rambla de Huéchar), in the southern part of the province. It was a down of more than a thousand inhabitants, protected by three lines of walls and towers, and had an economy based on copper metallurgy, agriculture, animal husbandry, and hunting on a moderate scale. Furthermore, they constructed a large necropolis and exported metal figures and pottery to a large part of the peninsula.