 crown] control on Galloway in the aftermath of the annexation of the province following the death of Alan, Lord of Galloway, and amidst the Galwegian revolt of 1235 led by Gille Ruadh.There proceeded various appeals to both the Archbishop of York and the Pope himself; despite the protests of the canons and their argument about the "illegality" of Gilbert's election, Gilbert secured consecration by Archbishop Walter de Gray at York on 2 September.An investigation by Pope Gregory IX had already been started, on 9 June, in which the Pope had issued a mandate to the Bishop of Rathlure, the Bishop of Raphoe, and the Archdeacon of Raphoe, authorising them to investigate the legality of Odo's election, and if they found it to have accorded with canon law, to consecrate him as Bishop of Galloway and compel Gilbert to restore everything he had taken; the results of this investigation are unknown, and Gilbert retained his bishopric.