Now the giant whom the invisible had so rashly attacked was the Lord of the Sea , and the third son of the Queen of the Elements , and he had touched the youth with a magic ring which enabled a mortal to live under water .