sentences:  Traditionally, Benabarre was the capital of the historic County of Ribagorza, which was more expansive in territory than today, and included the comarca of Alta Ribagorça, now in the province of Lleida, Catalonia.It was during the Spanish War of Independence, from 1808–1814, that the French Napoleonic troops, in retaliation against the inhabitants of Benabarre, decided to make Graus the capital of the comarca.Ever since, Benabarre ceased to be the administrative capital, but it is still the most important cultural and historical center of the region.