included barons, clergy, knights, and burgesses for the first time. Expansion in Britain On his accession, Edward I sought to organise his realm, enforcing his claims to primacy in the British Isles. Llywelyn ap Gruffudd claimed to rule North Wales "entirely separate from" England but Edward viewed him to be "a rebel and disturber of the peace". Edward's determination, military experience and skilful naval manoeuvres ended what was to him rebellion. The invasion was executed by one of the largest armies ever assembled by an English king, comprising Anglo-Norman cavalry and Welsh archers and laying the foundation for future victories in France. Llywelyn was driven into the mountains, later dying in battle. The Statute of Rhuddlan established England's authority over Wales, and Edward's son was proclaimed the first English Prince of Wales upon his birth. Edward spent vast sums on his two Welsh campaigns with a large portion of it spent on a network of castles. Edward asserted that the king of Scotland owed him feudal allegiance, and intended to unite the two nations by marrying his son Edward to Margaret, the sole heir of King Alexander III. When Margaret died in 1290, competition for the Scottish crown ensued. By invitation of Scottish magnates, Edward I resolved the dispute, ruling in favour of John Balliol, who duly swore loyalty to him and became king. Edward insisted that he was Scotland's sovereign and possessed the right to hear appeals against Balliol's judgements, undermining Balliol's authority. Balliol allied with France in 1295; Edward invaded Scotland the following year, deposing and exiling Balliol. Edward was less successful in Gascony, which was overrun by the French. With his resources depleting, Edward was forced to reconfirm the Charters, including Magna Carta, to obtain the necessary funds. In 1303 the French king restored Gascony to Edward by signing the Treaty of Paris. Meanwhile, William Wallace rose in Balliol's name and recovered most of Scotland. Wallace was defeated at the Battle of Falkirk, after which Robert the Bruce rebelled and was crowned king of Scotland. Edward died while travelling to Scotland for another campaign. King Edward II's coronation oath on his succession in 1307 was the first to reflect the king's responsibility to maintain the laws that the community "shall have chosen" ( in French). He was not unpopular initially but faced three challenges: discontent over the financing of wars; his household spending; and the role of