Gunhild on seeing him was eager for his blood. She had hated him so long that she hotly demanded that he should be killed on the spot. Erik, less bloodthirsty, gave him his life for one night more, and Arinbjörn begged him to spend the night in composing a song in Erik's honor, hoping that in this way he might win his life.

Egil promised to do so and his friend brought him food and drink, bidding him do his best. Anxious to know how he was progressing Arinbjörn visited him in the night.

"How goes the song?" he asked.

"Not a line of it is ready," answered Egil. "A swallow has been sitting in the window all the night, screaming and disturbing me, and do what I would I could not drive it away."

At that Arinbjörn darted into the hall, where he saw in the dim light a woman running hastily away. Going back he found that the swallow had flown. He was sure now that Queen Gunhild had changed herself into a swallow by sorcery, and for the remainder of the night he kept watch outside that the bird should not return. When morning broke he found that Egil had finished his song.

Determined to save his friend's life if he could, he armed himself and his men and went with Egil to the palace of the king, where he asked Erik for Egil's life as a reward for his devotion to him when others had deserted him.

Erik made no reply, and then Arinbjörn cried out:

"This I will say. Egil shall not die while I or one of my men remain alive."

"Egil has well deserved death," replied Erik, "but I cannot buy his death at that price."

As he stopped speaking Egil began to sing, chanting his ode in tones that rang loudly through the hall. Famed as a poet, his death song was one of the best he had ever composed, and it praised Erik's valor in all the full, wild strains of the northern verse.