Richard II of England started living in the castle towards the end of the century. He stayed there to escape Henry IV. When Richard got back from Ireland on August 12, 1399, and went to the castle, he met Henry Percy. Percy worked for Henry IV. The two talked to help stop the fighting. Percy promised to not hurt Richard. Richard surrendered on August 19 to Henry Percy at Flint Castle. He said he would stop being King if he was allowed to live, not die. Richard was taken to London. He died at Pontefract Castle.