 The castle keep acted as one corner of a courtyard, formed by an extension in the form of a castellated mansion.High walls and subsidiary buildings completed the courtyard.There was an ornate arched gateway to the courtyard adjacent to the keep.