As the borough of Trim developed to the northwest of the castle, the barbican gate provided a new entrance from the south. In 1224, Walter de Lacy, besieged the castle, reclaiming it from his rebellious kinsmen. As a result, the northern defences and the Trim Gate required major repairs. When Walter died in 1241 the estates passed to his granddaughter, Maud who married Geoffrey de Geneville in 1254--the beginning of a period of prosperity for Trim. [Trim Castle Visitors Guide, Duchas--The Heritage Service of Ireland]