The castle of Peñaflor was probably built during the reign of Alfonso X the Wise, in the 13th century. Being acquired by the governor of Cazorla don Juan Carrillo in the 15th century. It was built with a rectangle floor plan and now kept three circular towers at its corners. It contained an round path around the upper perimeter of its walls, of which remain only the machicolations. It seems to be that it had not homage tower or moat which could protect the castle.
Cuerva is a municipality of the province of Toledo in the Autonomous Community of Castilla-La Mancha. It is located on a hill in the region of Montes de Toledo. In the year 1220 the town is named El Villar de Corva, passing through the years with the names of Peñaflor, Villacarrillo and the current Cuerva, a term derived from the latin corvus, raven.