In 1278, the castle was bought by King Edward I’s Queen, Eleanor of Castile. As a favoured residence of Edward’s, it saw considerable investment. The king enhanced its defences, and it was probably Edward who created the lake that surrounds the castle. A barbican spanning three islands was also built and a gloriette with apartments for the king and queen was added. In the Late Middle Ages, the growth of the royal household meant fewer residences could accommodate the monarchy when they visited. As a result, expenditure on royal residences in south east England generally decreased except for the Tower of London and Windsor Castle. The activity at Leeds Castle during the reign of Edward I was a notable exception to this pattern.