 By the end of the 14th century, the castle bailey was primarily occupied by the local county administration.It was used extensively as a jail, with prisoners being kept in the various towers around the bailey.The old castle-guard system for securing the castle had changed into a system whereby the crown used rents from local royal lands to hire local guards for the castle.