County of Ribagorza — medieval county