 While in royal possession, Henry visited the castle in 1157, 1158, and 1164, the first time hosting King Malcolm IV of Scotland.During the Revolt of 1173–1174, the castle's garrison was increased from a porter and two watchmen to a force led by 20 knights shared with the castles of Bolsover and Nottingham.The Earls of Derby had a claim to the Peveril family's estates through marriage, and in 1199 William de Ferrers, the fourth earl, paid 2,000 marks for the Peak lordship, although the castle remained under royal control.