Consanguinity
the quality or state of being related by blood; nearness of kin; descent from a common ancestor.
Consanguinity is of two kinds, lineal and collateral. Lineal subsists among persons who descend in what may be called a straight line from a common ancestor; thus grandfather, father, son, grandson, great-grandson have lineal consanguinity. Collateral consanguinity is when there is descent from a common ancestor, but not in a direct line; as grandfather, father, his brother, son of the first, etc.
Here the line is not direct.