 With the outbreak of the Anglo @-@ Scottish Wars in 1296 , Brougham became an important military base for Robert Clifford , 1st Baron de Clifford . He began refortifying the castle : the wooden outer defences were replaced with stronger , more impressive stone walls , and the large stone gatehouse was added . The importance of Brougham and Roger Clifford was such that in 1300 he hosted Edward I at the castle . The second Roger Clifford was executed as a traitor in 1322 , and the family estates passed into the possession of Edward II , although they were returned once Edward III became king . The region was often at risk from the Scots , and in 1388 the castle was captured and sacked . 
