Tuatha Dé Danann
The legendary historical setting of the story is the end of the dominion of the Tuatha Dé Danann in Ireland, and the corresponding rise of the Milesians.