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.
^Olivera C, Redondo E, Riera A, Lambert J and Roca A (1999). "Problems in assessing focal parameters to earthquake sequences from historical investigation: the 1427 earthquakes in Catalonia". Proceedings I Asamblea Hispano-Portuguesa de Geodesia y Geofísica (CD-ROM). Symposium Ibero Maghrebian historical and instrumental seismicity. Vol. SIM2-7. pp. 1–8.{{cite conference}}: CS1 maint: multiple names: authors list (link)
^Banda E. & A. M. Correig (1984). The Catalan earthquake of February 2, 1428. Engineering Geology, 20, pp. 89-97.