Llywelyn ap Gruffudd (c. 1223 – 11 December 1282), sometimes written as Llywelyn ap Gruffydd, also known as Llywelyn the Last (), was the native Prince of Wales (; ) from 1258 until his death at Cilmeri in 1282. Llywelyn was the son of Gruffydd ap Llywelyn Fawr and grandson of Llywelyn the Great, and he was one of the last native and independent princes of Wales before its conquest by Edward I of England and English rule in Wales that followed, until Owain Glyndŵr held the title during the Welsh Revolt of 1400–1415. Genealogy and early life Llywelyn was the second of the four sons of Gruffydd, the eldest son of Llywelyn the Great, and Senana ferch Caradog, the daughter of Caradoc ap Thomas ap Rhodri, Lord of Anglesey. The eldest was Owain Goch ap Gruffydd and Llywelyn had two younger brothers, Dafydd ap Gruffydd and Rhodri ap Gruffydd. Llywelyn is thought to have been born around 1222 or 1223. He is first heard of holding lands in the Vale of Clwyd around 1244. Following his grandfather's death in 1240, Llywelyn's uncle, Dafydd ap Llywelyn (who was Llywelyn the Great's eldest legitimate son), succeeded him as ruler of Gwynedd. At this time, Llywelyn went on crusade with Richard of Cornwall, brother of Henry III of England. Llywelyn's father, Gruffydd (who was Llywelyn's eldest son but illegitimate), and his brother, Owain, were initially kept prisoner by Dafydd, then transferred into the custody of King Henry III of England. Gruffydd died in 1244 from a fall while trying to escape from his cell at the top of the Tower of London. The window from which he attempted to escape the Tower was bricked up and can still be seen to this day. This freed Dafydd ap Llywelyn's hand as King Henry could no longer use Gruffydd against him, and war broke out between him and King Henry in 1245. Llywelyn supported his uncle in the savage fighting that followed. Owain, meanwhile, was freed by Henry after his father's death in the hope that he would start a civil war in Gwynedd, but stayed in Chester, so when Dafydd died in February 1246 without leaving an heir, Llywelyn had the advantage of being on the spot. Early reign Llywelyn and Owain came to terms with King Henry and in 1247, signed the Treaty of Woodstock at Woodstock Palace. The terms they were