 However since 2000 Potes has been declining in population, in line with the rest of the comarca.At the end of the 14th century, King John I of Castile granted the lordship of Liébana to his cousin Don Juan Téllez of Castile, Lord of Aguilar de Campoo and son of the Infante Don Tello of Castile.Towards the second half of the 15th century, the possession of the lordship of Liébana was the cause of one of the frequent peerage wars of that time, and subsequently of a long lawsuit between the heirs of Don Juan Téllez of Castile (the Marquises of Aguilar de Campoo) and the successors of the second marriage of his wife Doña Leonor de la Vega (the Dukes of Infantado).