Yeah,That's basically the legend as I know it too... although I heard it as two great warriors racing towards Ulster, and the deal was that whoever "touched the soil first" would be the king. AS they neared the land one pulled slightly ahead, and the other in desperation cut off his hand and threw it ashore thereby becoming the first to touch the soil.
The Ulster flag still has the red hand on it.
slainte
alison