Complex sentence: In the aftermath of Óengus's army's defeat at the Battle of Stracathro, Moray was taken under royal control, although in 1312 Robert the Bruce granted the earldom of Moray to his nephew, Thomas Randolph.
Split into simpler sentences: In the aftermath of Óengus's defeat at the Battle of Stracathro, the province of Moray was taken under royal control. It remaind in the king's hands until 1312 when Robert the Bruce granted the earldom of Moray to his nephew, Thomas Randolph.