Бану Каси
García Jiménez of Pamplona was killed at Aybar in 882 in a battle against the Emir of Córdoba (Muhammad ibn Lubb, of the Banu Qasi family). In 1035, the son of Sancho the Great and his mistress Sancha of Aibar, Ramiro inherited his Aragonese lands as well as the town of Aibar.