 Livy mentions their principal town, "", which was probably the precursor of the present-day town of Berga.Berga was ruled by viscounts in the Early Middle Ages and had its own counts from 988.Berga was sold to king Peter II of Aragon in 1199.