Complex sentence: There are several versions of the story of which this is one of the more widely accepted but whatever the truth, the legend has cemented Athelstaneford's place in Scottish history.
Split into simpler sentences: There are several versions of the story, of which this is one of the more widely accepted. Whatever the truth, the legend has cemented Athelstaneford's place in Scottish history.