Located over a spur of the Sierra de la Villa, in the north-western part of the province of Alicante, it commands the former frontier between Castile and Kingdom of Aragon.
The fortress was an important stronghold on the northern frontier of the Islamic emirate of Iberia, and proof of its robustness is the fact that the fortification resisted to three different sieges laid by James I of Aragon.
Here resided his son, writer Juan Manuel, Prince of Villena, who made reforms to improve the security of the fortress, in order to defend his fiancee, the princess Constanza of Aragon.
During the Revolt of the Brotherhoods (1519–1523), viceroy Diego Mendoza took refuge in the fortress after his defeat at Gandía, and from here set out the troops which restored the royal power in Spain.
During the War of Spanish Succession (1701–1713), 50 Bourbon loyalist troops sustained a siege of 8 days from the biggest part of the Austrian army.
Within the inner gate remains have been excavated, which are thought to belong to Sanctuary of the Virgin of the Snow, whose existence was known from written documents.