After Moray opposed Mary's marriage to Lord Darnley in 1565, he embarked upon the unsuccessful 'Chaseabout Raid', together with the Earl of Argyll, and the Hamiltons. He was subsequently declared an outlaw and took refuge in England. Returning to Scotland after the murder of David Rizzio, he was pardoned by the Queen. He contrived, however, to be away at the time of Darnley's assassination, and avoided the tangles of the marriage with Bothwell by going to France. After the abdication of Queen Mary at Loch Leven, in July 1567, he was appointed regent of Scotland. When Mary escaped from Loch Leven (May 2, 1568), the Duke of Chatelherault and other nobles rallied to her standard, but Moray gathered his allies and defeated her forces at the Battle of Langside, near Glasgow (May 13, 1568), and compelled her to flee to England. For this and the subsequent management of the kingdom he secured both civil and ecclesiastical peace, and earned the title of "The Good Regent."