Gloucester died within days of being arrested for treason in 1447. The house was forfeited to the crown before being occupied at some time before 1457 by Edward's nephew Richard Plantagenet, 3rd Duke of York, the former Lord Protector, who kept 400 gentlemen and men-at-arms at the castle in his pursuit of his claim to the throne; he was killed at the Battle of Wakefield in 1460. This London powerbase allowed York's son to be crowned as King Edward IV in the great hall of the castle, whilst Henry VI and Margaret of Anjou were campaigning in northern England. Edward gave the castle to his mother Cecily Neville on 1 June 1461, a few weeks before his coronation, and he housed his family there for safety before the decisive Battle of Barnet. After the young princes Edward V and his brother Richard were declared illegitimate in 1483 and imprisoned in the Tower of London, Edward's brother was crowned as King Richard III at Baynard's Castle, as recounted in Shakespeare's play "Richard III".