David had made Elgin a royal burgh around 1130 , after his defeat of Óengus of Moray .
David I made Elgin a royal burgh around 1130 , after his defeat of Óengus of Moray .