# Castilla

> Peruvian city

**Wikidata**: [Q110812156](https://www.wikidata.org/wiki/Q110812156)  
**Source**: https://4ort.xyz/entity/castilla

## Summary
Castilla is a city in northern Peru, serving as the capital of Castilla District within Piura Province. According to the 2017 national census, it has a population of 145,182, making it a notable urban center in the region.

## Key Facts
- Castilla is a city located in Peru, specifically within Piura Province.
- It is the capital of Castilla District.
- Population: 145,182, as recorded in the 2017 census; determination method: census.
- Geographic coordinates: latitude -5.201611111111111, longitude -80.62247222222223.
- Elevation: 35 meters above sea level.
- Postal codes: 20002 and 20003.
- Geonames identifier: 3698671.
- Instance of: city (a class defined as a large human settlement with a sitelink count of 252).
- Sitelink count for Castilla: 1.
- Wikipedia language edition: Spanish (es).
- Wikidata description: "Peruvian city".
- Snarc ID: Pagar Alam.
- Population and elevation data reference: P813: 2026-01-09, P854: https://www.inei.gob.pe/media/MenuRecursivo/publicaciones_digitales/Est/Lib1541/tomo4.pdf, P7668: 247.

## FAQs
**Where is Castilla located and what is its administrative role?**  
Castilla is situated in Peru's Piura Province and functions as the capital of Castilla District, meaning it hosts the district's administrative headquarters.

**What is the population of Castilla and how was it determined?**  
The population is 145,182, based on Peru's 2017 census conducted by the National Institute of Statistics and Informatics (INEI) using a census determination method.

**What are the postal codes and elevation of Castilla?**  
Castilla uses postal codes 20002 and 20003, and it lies at an elevation of 35 meters above sea level.

**What are the precise geographic coordinates of Castilla?**  
The city's coordinates are latitude -5.201611111111111 and longitude -80.62247222222223.

**How is Castilla identified and described in knowledge bases?**  
In Geonames, it is ID 3698671; its Wikipedia article exists only in Spanish (language code "es"); Wikidata describes it as a "Peruvian city"; and it has a Snarc ID of Pagar Alam.

**What classification does Castilla have and what are its sitelink counts?**  
Castilla is an instance of the class "city," which is defined as a large human settlement and has a sitelink count of 252 across knowledge bases. Castilla itself has a sitelink count of 1.

## Why It Matters
As the capital of Castilla District, Castilla is a focal point for local governance, public services, and administrative functions that serve the district's residents. Its population of over 145,000 positions it as a significant urban hub within Piura Province, likely influencing regional commerce, transportation, and cultural activities. The city's documented data in national censuses and international geographic databases underscores its role as a recognized and stable urban entity in Peru's northwestern landscape.

## Notable For
- Being the administrative capital of Castilla District.
- Maintaining a population of 145,182 as officially recorded in Peru's 2017 census.
- Its low elevation of 35 meters above sea level, typical of coastal Peruvian cities.
- Utilizing two distinct postal codes (20002, 20003) for its urban area.
- Precise geographic coordinates that place it just south of the equator in the Piura region.
- Exclusive representation in the Spanish-language Wikipedia, reflecting its primary linguistic and cultural context.
- Classification as an instance of the "city" class, a broadly used category in global knowledge systems.

## Body
### Administrative Status
Castilla is a city in Peru, explicitly located within the boundaries of Piura Province. It holds the designation of capital for Castilla District, meaning it serves as the seat of district-level government. This administrative role implies it hosts key municipal offices and infrastructure for local governance.

### Demographics
The city's population is 145,182, a figure derived from Peru's 2017 national census. The determination method for this statistic is explicitly recorded as "census," indicating a complete population count. This data is sourced from a publication by Peru's National Institute of Statistics and Informatics (INEI), referenced with identifiers P813 (retrieval date: 2026-01-09), P854 (URL: https://www.inei.gob.pe/media/MenuRecursivo/publicaciones_digitales/Est/Lib1541/tomo4.pdf), and P7668 (page: 247).

### Geographic Characteristics
Castilla's position on the Earth is defined by the coordinates latitude -5.201611111111111 and longitude -80.62247222222223. Its physical elevation is 35 meters above sea level. The elevation data shares the same INEI reference as the population statistics, confirming a common source for these geographic and demographic measurements.

### Postal and Identification Systems
The city operates under two postal codes: 20002 and 20003. For global geographic databases, it is assigned the Geonames ID 3698671. In the Snarc identifier system, it is referenced as "Pagar Alam," though this appears inconsistent with its Peruvian location, it is recorded as provided.

### Knowledge Base Classification and Representation
Castilla is explicitly classified as an instance of the class "city." This class is defined in the source material as a "large human settlement" and carries a sitelink count of 252 across aggregated knowledge bases. For Castilla itself, the sitelink count is 1, indicating a single linked resource in the dataset. Its representation is limited to the Spanish-language edition of Wikipedia (language code "es"). Within Wikidata, its official description is the concise phrase "Peruvian city."

## References

1. [Source](https://www.inei.gob.pe/media/MenuRecursivo/publicaciones_digitales/Est/Lib1541/tomo4.pdf)