Cuenca is a city in the mountains of east-central Spain, just east of Madrid. Founded by Moors, it retains its walled old town with steep cobbled streets and medieval castle ruins. Perched on a limestone spur high above the Júcar and Huécar rivers, it's most famous for its well-preserved "casas colgadas," or hanging houses. Cantilevered over the Huécar gorge, they seemingly cling to the cliffs’ edges.