Wikipedia
Queralbs is a municipality in the comarca of the Ripollès in Girona, Catalonia, Spain. It is situated in the Pyrenees to the north of Ribes de Freser, with the peaks of Puigmal (2909 m), Infern (2896 m) and Noufonts (2864 m). Tourism and hydroelectric generation are the bases of the local economy. The shrine of Núria is situated in the municipality, to the north of the village: it houses a romanesque marial image of la Mare de Déu de Núria. The shrine is reached by a rack railway from Ribes de Freser, which also serves the village. There is also a local road to Ribes de Freser (7 km, 4 miles), which serves the ski resort.
The first historical mention of Queralbs is in the consecration act of the church of the Urgell Diocese in 836—thus the town's motto, poble mil·lenari (millennial town)--and its Romanesque church, dedicated to Saint James, dates to the late tenth century.