	In the 15th century, York Castle, along with Nottingham Castle, was considered a key security asset in the north of England, but investment even in these castles diminished. Repairs to York Castle grew infrequent from 1400 onwards, and it fell into increasing disrepair. Richard III recognised the issue and in 1483 had some of the most decrepit structures removed, but he died at the battle of Bosworth before replacement work could commence. By the reign of Henry VIII, the antiquary John Leland reported that the castle was in considerable disrepair; nonetheless the water defences remained intact, unlike those of many other castles of the period. As a result of the deterioration, Henry had to be advised that the king's councillors no longer had any official residence in which to stay and work when they were in York. The castle mint was shut down after the death of Edward VI in 1553, and the castle mills were given to a local charitable hospital in 1464. The hospital was then closed during the Reformation, and the mills passed into private ownership once again.