Альфонсо IX
He was the paternal grandson of King Alfonso IX of León.