On 11 June, acting as the Lord Paramount of Scotland, Edward I ordered that every Scottish royal castle be placed temporarily under his control and every Scottish official resign his office and be re-appointed by him. Two days later, in Upsettlington, the Guardians of the Realm and the leading Scottish nobles gathered to swear allegiance to King Edward I as Lord Paramount. All Scots were also required to pay homage to Edward I, either in person or at one of the designated centres by 27 July 1291.