conquest of North Wales; his castle-building campaign in Wales drew upon the Arthurian myths in their design and location. He held "Round Table" events in 1284 and 1302, involving tournaments and feasting, and chroniclers compared him and the events at his court to Arthur. In some cases Edward appears to have used his interest in the Arthurian myths to serve his own political interests, including legitimising his rule in Wales and discrediting the Welsh belief that Arthur might return as their political saviour. Administration and the law Soon after assuming the throne, Edward set about restoring order and re-establishing royal authority after the troubled reign of his father. To accomplish this, he immediately ordered an extensive change of administrative personnel. The most important of these was the designation of Robert Burnell as chancellor in 1274, a man who would remain in the post until 1292 as one of the King's closest associates. The same year as Burnell's appointment, Edward replaced most local officials, such as the escheators and sheriffs. This last measure was taken in preparation for an extensive inquest covering all of England, that would hear complaints about abuse of power by royal officers. The second purpose of the inquest was to establish what land and rights the Crown had lost during the reign of Henry III. The inquest produced a set of the census documents called the Hundred Rolls. These have been likened to the 11th-century Domesday Book, and they formed the basis for the later legal inquiries called the Quo warranto proceedings. The purpose of these inquiries was to establish by what warrant () liberties were held. If the defendant could not produce a royal licence to prove the grant of the liberty, then it was the Crown's opinionbased on the writings of the influential thirteenth-century legal scholar Henry de Bractonthat the liberty should revert to the King. Both the Statute of Westminster 1275 and Statute of Westminster 1285 codified the existing law in England. By enacting the Statute of Gloucester in 1278 the King challenged baronial rights through a revival of the system of general eyres (royal justices to go on tour throughout the land) and through a significant increase in the number of pleas of quo warranto to be heard by such eyres. This caused great consternation among the aristocracy, who insisted that long use in itself constituted licence. A compromise was eventually reached in