 However he was also heavily implicated in the murder of the queen's secretary David Rizzio and as a result was deprived of his judicial rank and was forced to flee from Edinburgh.He was later pardoned but was ordered to stay north of the River Tay.In December 1567, through the influence of the Regent Moray, Makgill was restored to his offices.