Perkin Warbeck pretended to be the duke of York, the second son of Edward IV. He gained support from the French king Charles VIII until the treaty of Etaples, James IV until truce of Ayton and Margaret of Burgundy. henry treated him well at first but when he tried to escape he was recaptured and held in solitary confinement until he was hanged on the 23rd Nov 1499.