Late in October Archbishop Peckham appeared on the scene. He had excommunicated Llewelyn at the beginning of the war, but was still anxious to negotiate a peace. Edward did his best to put him off, but Peckham's importunity extorted from him a short truce, during which the primate visited Snowdon, taking with him an offer of an ample estate in England if the prince would surrender his patrimony. Llewelyn furnished Peckham with long catalogues of grievances. He was quite willing to gain time by discussing his wrongs.

Edward's army shared his irritation at Peckham's interference, and, while the archbishop was still in Snowdon, a breach of the truce destroyed any hopes of peace. On November 6 Tany led his troops over the bridge of boats at low water and marched inland. But his operations were ill-planned, and the Welsh came down from the hills and easily put him to flight. Meanwhile the tide had risen and the flood cut off access to the bridge over the Menai. In their panic the soldiers rushed into the water rather than face the enemy. Many leading men were drowned, including Tany himself, the author of the treachery. Flushed with this success Llewelyn rejected Peckham's terms. In great disgust the archbishop went back to England, bitterly denouncing the Welsh. But defeat only strengthened the iron resolution of Edward. He issued fresh summonses for men and money. Contrary to all precedent, he determined to continue the campaign through the winter.

Llewelyn was probably ignorant of the perilous plight into which the king had fallen. With the approach of bad weather he became afraid that he would be starved out in Snowdon. Any risk was better than being caught like a rat in a trap, and, fearing lest a cordon should be drawn round the mountains, he made his way southwards, leaving David in command. His enemy, Roger Mortimer, was just dead, and Mortimer's eldest son Edmund, a youth brought up for the clerical profession, was not likely to hold the middle marches with the same strong grasp as his father. Thither accordingly Llewelyn made his way, hoping that on his approach the tribesmen of the upper Wye, over whom he had ruled so long, would abandon their English lord for their Cymric chieftain. A force gathered round him, and he occupied a strong position on a hill overlooking the river Yrvon, which flows into the right bank of the Wye, just above Builth. The right bank of the Yrvon was held by the English of Builth. But the only way over the stream was by Orewyn bridge, which was held by a detachment of the Welsh. Their position seemed so secure that, on December 11, Llewelyn left his troops to confer with some of the local chieftains. The English were, however, shown a ford over the river; a band crossed in safety, and, taking the defenders of Orewyn bridge in the rear, opened up the passage over it to their comrades. The English ascended the hill, their mail-clad squadrons interlaced with archers, in order that the Welsh infantry might be assailed by missiles before they were exposed to the shock of a cavalry charge. In the absence of their leader, the Welsh were a helpless mass of sheep, and were easily put to flight. Meanwhile Llewelyn, hearing the din of battle, hurried back to direct his followers. On the way he was slain by Stephen of Frankton, a Shropshire veteran of the Barons' War, who fought under the banner of Roger l'Estrange. The discovery of important papers on the body first told the conquerors the rank of their victim.

Thus perished the able and strenuous chief, who had struggled so long to win for himself in Wales a position similar to that occupied by the King of Scots in the north. His death did not end, but it much simplified, the struggle. The south and midland districts were entirely subdued, and the interest of the war again shifted to the mountains of Snowdon, where David strove to maintain himself as Prince of Wales. His best chance lay in the exhaustion of his enemy, but Edward stuck grimly to his task. His coffers were exhausted, and his army for the most part went home. Yet Edward tarried at Rhuddlan for over six months, dividing his energy between watching the Welsh and replenishing his treasure and troops. His treasurer, John Kirkby, wandered from shire to shire soliciting voluntary contributions. Then in January, 1283, an anomalous parliament was summoned, consisting mainly of ecclesiastics, knights of the shire, and burgesses, and meeting in two divisions, at York and at Northampton, according as the members came from the northern or southern ecclesiastical provinces. The grant of a thirtieth so little satisfied the king that he laid violent hands on the crusading-tenth, which was deposited in the Temple. Meanwhile the chivalry of Gascony and Ponthieu were tempted by high wages to supply the void left by the retirement of the English.

Early in 1283 a gallant force from beyond sea, among which figured the Counts of Armagnac and Bigorre, reached Rhuddlan. After their arrival the king took the offensive, crossed the Conway and transferred his headquarters to the Cistercian abbey of Aberconway. Fearful once more of being enclosed in the mountains, David sought a new hiding-place among the heights of Cader Idris. He shifted his quarters to the castle of Bere, hidden away in a remote valley sloping down from the mountain to the sea. The unwearied Edward once more issued summonses for a fresh campaign. David was at the extremity of his resources. Before the new arrivals enabled Edward to move, William of Valence marched up from the south, and in April forced Bere to surrender. David fled before the siege began; but he was a fugitive without an army, and the campaign was reduced to a weary tracking out of the last little bands that still scorned to surrender. In June David was betrayed by men of his own tongue, and Edward summoned for Michaelmas at Shrewsbury a parliament whose chief business was the trial of David. On October 3 the last Cymric Prince of Wales suffered the ignominious doom of a traitor, a murderer, and a blasphemer. The magnates then adjourned to the chancellor's neighbouring seat of Acton Burnell, where the rejoicings incident to the king's visit to his friend's new mansion were combined with passing the statute of Merchants.

Edward's love of thoroughness made him linger in Wales to settle the government of the newly won lands. His first care was to hold Snowdon with the ring of fortresses which, in their ruin, still bear abiding witness to the solidity of the conqueror's work. Round each castle arose a new town, created as artificially as were the bastides of Aquitaine, within whose walls English traders and settlers were tempted by high privileges to take up their abodes, and whose strictly military character was emphasised by the general provision that the constable of the castle was to be ex officio the mayor of the municipality. Chief among these was Aberconway, whose strategic importance Edward understood so fully that he forced the Cistercian monks to take up new quarters at Maenan, higher up the valley, in order that there might be room for the castle and town which were henceforth to guard the entrance to Snowdon. Equally important was the future capital of Gwynedd, Carnarvon, where on April 25, 1284, a son was born to Edward and Eleanor, who seventeen years later was to become the first English Prince of Wales. Elsewhere fortresses of Welsh origin were rebuilt and enlarged to complete the stone circuit round the mountains. Such were Criccieth, the key of Lleyn; Dolwyddelen, which dominated the upper Conway; and Harlech and Bere, the two strongholds that curbed the mountaineers of Merioneth. In the south the same policy was carried out. Alike in Gwynedd and in the vale of Towy, both in his castle building and in his town foundations, Edward was simply carrying on the traditions of earlier ages, and applying to his new lands those principles of government which, since the Norman Conquest, had become the tradition of the marcher lords. Even in his architectural schemes there was nothing novel in Edward's policy. Gilbert of Gloucester at Caerphilly, and Payne of Chaworth at Kidwelly, had already worked out the pattern of "concentric" defences that were to find their fullest expression in the new castles of the principality. In each of these strongholds an adequate garrison of highly trained and well-paid troops kept the Welsh in check.

The civil government of the Edwardian conquests was provided for by the statute of Wales, issued on Mid-Lent Sunday, 1284, at Rhuddlan, Edward's usual headquarters. It declared that the land of Wales, heretofore subject to the crown in feudal right, was entirely transferred to the king's dominion. To the whole of the annexed districts the English system of shire government was extended, though such local customs as appealed to Edward's sense of justice were suffered to be continued. Gwynedd and its appurtenances were divided into the three shires of Anglesey, Carnarvon, and Merioneth, and were collectively put under the justice of Snowdon, whose seat was to be at Carnarvon, where courts of chancery and exchequer for north Wales were set up. The shires of Cardigan and Carmarthen were re-organised so as to include the southern districts which had been subject to Llewelyn, or to the Welsh lords who had fallen with him. These were put under the justice of west Wales, whose chancery and exchequer were established at Carmarthen. It is significant that Edward prepared the way for making these districts into shires by persuading his brother Edmund, to whom they had been granted, to abandon his claims over them in return for ample compensation elsewhere. Without this step the new shires would only have been palatinates of the Glamorgan or Pembroke type, and the creation of such franchises was directly contrary to Edward's policy. It was different in the vale of Clwyd, where it would have been natural for Edward to have extended the shire system to the four cantreds. Military exigences had, however, already erected most of these lands into new marcher lordships, and Edward was perforce content with the union of some fragments of Rhos to the shire of Carnarvon, and with joining together Englefield and some adjoining districts in the new county of Flint. This arrangement secured the strongholds of Flint and Rhuddlan for the king. But the district was too small to make it worth while to set up a separate organisation for it, and Flintshire was put under the justice and courts of Chester, so that it became a dependency of the neighbouring palatinate.[1]

[1] For the shires of Walessee my paper on The Welsh Shires in Y Cymmrodor, ix. (1888), 201-26.

The lordships of the march were not directly influenced by this legislation. They continued to hold their position as franchises until the reign of Henry VIII., and under Edward III. were declared by statute to be no part of the principality but directly subject to the English crown. Yet the removal of the pressure of a native principality profoundly affected these districts. The policy of definition made its mark even here. The liberties of each marcher were defined and circumscribed, and, while scrupulously respected, were incapable of further extension. The vague jurisdictions of the sheriffs of the border shires were cleared up, and if this process involved some limitation of the royal authority in districts like Clun and Oswestry, which virtually ceased to be parts of Shropshire, there was a compensating advantage in the increased clearness with which the border line was drawn and the royal authority consolidated. Gradually the marcher lordships passed by lapse into the royal hands, and even from the beginning there were regions, such as Montgomery and Builth, which knew no lord but the king. All this was, however, an indirect result of the Edwardian conquest. Strictly speaking it was no conquest of all Wales but merely of the principality, the ancient dominions of Llewelyn, to which most of the crown lands in Wales were joined.

Ecclesiastical settlement followed the political reorganisation. Peckham was as zealous as Edward in compelling the conquered to follow the law-abiding traditions of the king's ancient inheritance. He laboured strenuously for the rebuilding of churches, the preservation and extension of ecclesiastical property, the education of the clergy, and the extirpation of clerical matrimony and simony. Despite his unsympathetic attitude, he did good work for the Welsh Church by his manful resistance to all attempts of Edward and his subordinates to encroach upon her liberties. He quaintly thought it would promote the civilisation of Wales if the people were forced to "learn civility" by living in towns and sending their children to school in England. His assiduous visitation of the Welsh dioceses in 1284 did something to kindle zeal, and win the Welsh clergy from the idleness wherein, he believed, lay the root of all their shortcomings.