
History of Wales / Legends / The Mabinogion
The Fourth Branch
Math, son of Mathonwy
The magic of Gwynedd: Gwydion the storyteller steals Pryderi’s swine and starts a war, Math punishes his nephews in the shapes of beasts, Arianrhod lays three destinies on her son, and Blodeuwedd, made of flowers, plots the death of Lleu.
Picture: Sunset seen from the hillfort of Dinas Dinlle, Lleu’s fort, on the coast of Arfon · Dwalad, CC BY-SA 4.0 · Wikimedia Commons
| The tale | The Fourth Branch of the Mabinogi |
|---|---|
| Its people | Math son of Mathonwy, Gwydion and Gilfaethwy sons of Dôn, Goewin, Pryderi, Arianrhod, Dylan, Lleu Llaw Gyffes, Blodeuwedd, Gronw Pebr |
| Its country | Gwynedd: Arfon, Ardudwy, Dyffryn Nantlle, Ffestiniog and the coast at Dinas Dinlle; and the road of the swine from Ceredigion |
| Kept in | The White Book of Rhydderch and the Red Book of Hergest |
| Written down | Between about 1050 and 1120 |
| Read it retold | Blodeuwedd, the woman made of flowers, on our Legends page |
1. Math and his footholder
Math son of Mathonwy was lord over Gwynedd, and Pryderi son of Pwyll over the twenty-one cantrefs of the south. Math could not live unless his feet were in the lap of a maiden, except when the turmoil of war prevented it. The maiden who held them was Goewin, daughter of Pebin of Dôl Pebin in Arfon, the fairest maiden of her time. Math’s court was at Caer Dathyl in Arfon. His nephews, Gwydion and Gilfaethwy, sons of his sister Dôn, rode round the land for him. Gilfaethwy fell sick with love for Goewin, and Gwydion, who saw it, made a plan.
2. The swine of Pryderi
There had come to the south, Gwydion told Math, a kind of beast never seen in the island before: swine, sent to Pryderi from Annwn by Arawn. Gwydion went south with Gilfaethwy and ten others, dressed as bards, to the court of Pryderi at Rhuddlan Teifi. Gwydion was the best storyteller in the world, and that night he entertained the court so well that everyone loved him. Pryderi had sworn not to give or sell the swine until they had bred twice their number, so Gwydion offered an exchange. By his magic he made twelve stallions with golden saddles and twelve hounds with golden collars, and twelve shields of gold, out of toadstools, and Pryderi took them for the swine. By the next day the magic was gone.
Gwydion drove the swine north as fast as he could, and the tale names every place they rested: through Ceredigion to Elenydd, to Mochdref between Ceri and Arwystli, to Mochnant in Powys, to Mochdref in Rhos, and so to Creuwyryon in Gwynedd, where they built a sty. Moch is Welsh for swine, and so these places got their names.
3. The war, and the death of Pryderi
Pryderi came north with his army to take revenge, and Math went out to meet him. While Math was away at war, Gwydion and Gilfaethwy went back to Caer Dathyl, and Gilfaethwy took Goewin by force in Math’s own bed. The armies fought between the two maenors of Pennardd and Coed Alun in Arfon. Pryderi fell back to Nant Call, and then to Dôl Benmaen, and there, to spare his people, he asked that the war be settled between himself and Gwydion, who had caused it.
The two met at Y Felenrhyd, on the river Dwyryd. By his strength and his valour, and by magic and enchantment, Gwydion won, and Pryderi was killed. He was buried at Maentwrog, above Y Felenrhyd, and his grave is there. The men of the south went home lamenting their lord. So Pryderi, who was born in the First Branch, died in the Fourth.
4. The punishment of the brothers
When Math came home, Goewin told him that she could no longer be his footholder, and why. ‘I will take you as my wife,’ said Math, ‘to make amends to you for the wrong, and give you authority over my kingdom.’ Then he dealt with his nephews. With his magic wand he turned them into a stag and a hind, and sent them into the forest for a year. They came back with a fawn. He turned them into a boar and a sow for a year, and they came back with a piglet. He turned them into a wolf and a she-wolf, and they came back with a cub. The three young ones Math made into boys, Hyddwn, Hychdwn Hir and Bleiddwn, and when the brothers had borne their punishment for three years he gave them back their own shapes, had them washed and dressed, and made peace with them.
5. Arianrhod and her sons
Math needed a new footholder, and Gwydion named his sister Arianrhod, daughter of Dôn. Math held out his wand and asked her to step over it, to show she was a maiden. As she stepped over it she dropped a fine, sturdy, yellow-haired boy, and as she made for the door, something small. Math named the boy Dylan. He made straight for the sea, and swam as well as any fish, and he was called Dylan Eil Ton, Dylan Son of the Wave, because no wave ever broke beneath him. Before Gwydion could be stopped, he had wrapped the small thing in a silk sheet and hidden it in a chest at the foot of his bed. One morning he heard a cry from the chest, opened it, and found a little boy.
6. The three destinies
Gwydion brought the boy up, and he grew twice as fast as any other. When Gwydion took him to his mother’s court at Caer Arianrhod, by the sea, Arianrhod was angry at the shame of it, and she laid three destinies on the boy. First, he would never have a name unless she gave it. So Gwydion and the boy came by boat to her gate in disguise, as shoemakers. When she came down to be measured, a wren landed on the deck, and the boy struck it with a needle between the sinew and the bone of its leg. ‘The fair one has hit it with a skilful hand,’ she laughed, and so he had his name: Lleu Llaw Gyffes, Lleu of the Skilful Hand.
Second, he would never bear arms unless she armed him. Gwydion and Lleu came again as bards from Glamorgan, and in the night Gwydion made by magic the sound of trumpets and a fleet of ships in the bay, so that Arianrhod thought the court was attacked and armed Lleu herself. Third, he would never have a wife of any race that was now on earth. So Math and Gwydion took the flowers of the oak, the broom and the meadowsweet, and from them they conjured the fairest maiden anyone had ever seen, and named her Blodeuwedd, Flower-face.
7. Blodeuwedd and Gronw
Math gave Lleu the cantref of Dinoding, and Lleu built his court at Mur Castell in Ardudwy. One day while Lleu was away at Caer Dathyl, Blodeuwedd heard a horn and saw a hunt go by after a stag. It was Gronw Pebr, lord of Penllyn, and he killed the stag by the river Cynfal. She invited him in for courtesy’s sake, and the moment they looked at each other they were filled with love. That night they planned how to be rid of Lleu.
Lleu could not easily be killed. When Blodeuwedd pretended to fear for him, he told her the secret. He could be killed only by a spear that had been a year in the making, worked on only during Mass on Sundays. He could not be killed inside a house or outside, on horseback or on foot. He could be killed only if a bath were made for him on the bank of a river under a thatched frame, and a he-goat brought beside it, and he stood with one foot on the edge of the bath and the other on the goat’s back. A year later Blodeuwedd asked him to show her how. As he stood just so, Gronw rose from behind the hill called Bryn Cyfergyr and threw the spear. Lleu gave a terrible scream, rose up in the shape of an eagle, and was seen no more.
8. The eagle in the oak
Gwydion went searching for Lleu all over Gwynedd and Powys. At a farmhouse in Arfon he heard of a sow that went out every morning as soon as the sty was opened, and nobody knew where. He followed her up the river to the valley that is now called Nantlleu, Nantlle, and there she stopped under an oak and began to feed. At the top of the oak sat an eagle, and every time it shook itself, rotten flesh fell from it, and the sow ate it. Gwydion sang three englynion to the eagle, and with each it came lower, until it came down on to his knee. He struck it with his wand, and Lleu was there in his own shape, nothing but skin and bone. He was brought to Caer Dathyl, and the best physicians in Gwynedd healed him within the year.
9. The owl and the stone
Blodeuwedd heard they were coming and fled with her maidens to a court on the mountain. Looking back over their shoulders in fear, the maidens fell into a lake and were drowned, and it is called Llyn y Morwynion, the Lake of the Maidens, still. Gwydion caught Blodeuwedd. ‘I will not kill you,’ he said. ‘I will do worse. I will let you go in the shape of a bird. You will never dare show your face in the light of day, because all the birds will hate you. And you will keep your name, Blodeuwedd.’ And that is why the owl is called blodeuwedd in Welsh to this day.
Gronw offered Lleu land and gold. Lleu would take nothing but to stand where he had stood and throw a spear at Gronw. Gronw asked only that he might hold up a stone between himself and the blow. Lleu threw, and the spear went through the stone and through Gronw and broke his back. The stone is there on the bank of the Cynfal in Ardudwy, with a hole through it, and it is called Llech Ronw. Lleu took his land back, and in time he was lord of all Gwynedd. ‘And so ends this branch of the Mabinogi.’
The history behind the tale
The Fourth Branch is the most magical of the four, and the most full of real places. Its names can be found on the map of Gwynedd today: Dinas Dinlle and Caer Arianrhod, Nantlle, Maentwrog and Y Felenrhyd, Llyn Morwynion above Ffestiniog, and the Roman fort of Tomen y Mur, Mur Castell, where Lleu held court. The children of Dôn carry very old names: Gwydion the master of magic and story, Arianrhod of the silver wheel, Gofannon the smith. The constellation of the Corona Borealis was once called Caer Arianrhod in Welsh, and the Milky Way Caer Gwydion. Lleu’s name is the Welsh form of the old British Lugus, honoured across the land of the Britons.
An oak grows between two lakes.
The first words of Gwydion’s englynion to the eagle: Derwen a dyf rhwng dau lyn
Read the tale retold: Blodeuwedd, the woman made of flowers → The books that kept the tales → All the tales →
Pictures of the tale

The places of the tale
13 places in Wales where the tale happens. Tap a number to read about it.
- Caer Dathyl, Arfon
Math’s court. Its place is not known for certain; tradition looks for it in Arfon, between the Menai and the mountains.
- Rhuddlan Teifi
Pryderi’s court in Ceredigion, by the Teifi near Llanybydder, where Gwydion told his tales and took the swine.
- Elenydd
The high moorland of the Cambrian Mountains, the first stage of the swine’s road north.
- Mochdref, between Ceri and Arwystli
Mochdre near Newtown, Powys: ‘swine town’, named, the tale says, for a night the herd rested there.
- Mochnant
‘Swine stream’ in Powys, around Llanrhaeadr-ym-Mochnant, another night on the road.Mochnant
- Mochdre in Rhos
Mochdre near Colwyn Bay, the last swine town before Arfon.
- Dinas Dinlle and Caer Arianrhod
The hillfort of Dinas Dinlle on the shore of Arfon bears Lleu’s name. Off the coast, a reef seen at low tide is still called Caer Arianrhod.
- Pennardd and Coed Alun
The two maenors in Arfon, near Clynnog, between which Math’s army fought Pryderi.
- Nantlle
Nantlleu, Lleu’s valley, where Gwydion found the eagle in the oak between two lakes.
- Dôl Benmaen
Near Penmorfa, where Pryderi made his last stand and offered to settle the war in single combat.
- Maentwrog and Y Felenrhyd
Pryderi fell at Y Felenrhyd on the Dwyryd and was buried at Maentwrog. ‘And there is his grave.’
- Mur Castell (Tomen y Mur)
Lleu’s court in Ardudwy: the Roman fort of Tomen y Mur, high above Trawsfynydd.
- Llech Ronw and the Cynfal
On the bank of the Cynfal below Ffestiniog, where Gronw killed the stag, and where he held up the stone against Lleu’s spear.
- Llyn y Morwynion
The lake on the moor above Ffestiniog where Blodeuwedd’s maidens drowned as they fled.
Written by Ifan Last updated





