The castle, which is strategically located (about 1063 meters high, at the top of the mill where the rest of the population is located, and on a cliff 70 meters high) in the upper Alcalatén river, had a devensive purpose and therefore was part of fortification system that protected the valley, avoiding any atack through that natural passage from Aragon to Burriana.