When David's brother Alexander I died in 1124, David chose, with the backing of Henry I, to take the Kingdom of Scotland (Alba) for himself. He was forced to engage in warfare against his rival and nephew, Máel Coluim mac Alaxandair. Subduing the latter seems to have taken David ten years, a struggle that involved the destruction of Óengus, Mormaer of Moray.