 Dafydd was forced to agree to a treaty greatly restricting his power and was also obliged to hand his half-brother Gruffydd over to the king, who now had the option of using him against Dafydd.Gruffydd was killed attempting to escape from the Tower of London in 1244.This left the field clear for Dafydd, but Dafydd himself died without issue in 1246 and was eventually succeeded by his nephew, Gruffydd's son, Llywelyn ap Gruffudd.