The great grandfathers grandfather; a far ancestor; or forefather.
http://www.failteromhat.com/flax/cavan.php