The Banu Qasi were a Muslim dynastic family that ruled the region of the Ebro Valley in Spain, from the 7th century to the 10th century. The family descended from the Visigothic count Cassius, hence the name "Banu Qasi", or "Sons of Cassius". It was a paternal dynasty: that is, the ruling power was inherited through the father's eldest son.