Career during the minority of James V
After the Battle of Flodden, during the minority of James V of Scotland, the Douglas family assumed a pivotal role in public affairs. Three weeks after the Battle of Flodden Gavin Douglas, still Provost of St Giles, was admitted a burgess of Edinburgh. His father, the "Great Earl", was then the civil provost of the capital. The Earl died soon afterwards in January 1514 in Wigtownshire, where he had gone as justiciar. As the Earl's non-cleric sons had been killed at Flodden, the succession fell to Gavin's nephew, Archibald Douglas, 6th Earl of Angus.
The marriage of the young Earl of Angus to James IV's widow, Margaret Tudor, on 6 August 1514 did much to identify the Douglases with the English party in Scotland, as against the French party led by the Duke of Albany, and incidentally to determine the political career of his uncle Gavin. During the first weeks of the Queen's sorrow after the battle, Gavin, with one or two colleagues of the council, acted as personal adviser, and it may be taken for granted that he supported the pretensions of the young earl. His own hopes of preferment had been strengthened by the death of many of the higher clergy at Flodden.
The first outcome for Gavin from the new family connection was his appointment to the Abbacy of Aberbrothwick by the Queen Regent, as Margaret Tudor was before her marriage, probably in June 1514. Soon after the marriage of Angus to Margaret she nominated him Archbishop of St Andrews, in succession to William Elphinstone, archbishop-designate. But John Hepburn, prior of St Andrews, having obtained the vote of the chapter, expelled him, and was himself in turn expelled by Andrew Forman, Bishop of Moray, who had been nominated by the Pope. In the interval, Douglas's rights in Aberbrothwick had been transferred to James Beaton, Archbishop of Glasgow, and he was now without title or temporality. The breach between the Queen's party and Albany's had widened, and the Queen's advisers had begun an intrigue with England, to the end that the royal widow and her young son should be removed to Henry's court. In those deliberations Gavin Douglas took an active part, and for this reason stimulated the opposition which successfully thwarted his preferment.
Gavin Douglas became heavily involved in affairs of state, seeking a dominant role as one of the Lords of Council and bidding to attain one or more of the many sees, including the archbishopric of St Andrews, left vacant in the destructive aftermath of the Scottish defeat. He finally obtained the bishopric of Dunkeld in 1516, but only after a bitter struggle.
In 1517, in his more settled public position, Douglas was one of the leading members of the embassy to Francis I which negotiated the Treaty of Rouen, but his role in the volatile politics of the period, mainly centring on control over the minority of James V, was deeply contentious. By late 1517 he had managed to earn the enduring hostility of the Queen Mother, a former ally, and in subsequent years became manifestly involved in political manœuvring against the Regent Albany. At the same time he remained ambitious for the St Andrews archbishopric, which fell vacant once again in 1521. His career was cut short when he died suddenly during a brief period in exile in London.