 From the Middle Ages until the end of the Ancien Régime Loco was the capital of the old Onsernone valley community.The parish church of San Remigio was the mother church of the valley and ancient seat of the Vicariate of Onsernone valley.It is first mentioned in 1228 (in the municipal archives), but is probably older.