William the Lion (Mediaeval Gaelic: Uilliam mac Eanric; Modern Gaelic: Uilleam mac Eanraig), sometimes styled William I, also known by the nickname Garbh, "the Rough", (c 1143 – 4 December 1214) reigned as King of the Scots from 1165 to 1214. His reign was the second longest in Scottish history before the Act of Union with England in 1707, (James VI's was the longest 1567–1625). He became King following his brother Malcolm IV's death on 9 December 1165 and was crowned on 24 December 1165. In contrast to his deeply religious, frail brother, William was powerfully built, redheaded, and headstrong. He was an effective monarch whose reign was marred by his ill-fated attempts to regain control of Northumbria from the Normans.
Traditionally, William is credited with founding Arbroath Abbey, the site of the later Declaration of Arbroath. He was not known as "The Lion" during his own lifetime, and the title did not relate to his tenacious character or his military prowess. It was attached to him because of his flag or standard, a red lion rampant (with a forked tail) on a yellow background. This (with the addition of a 'double tressure fleury counter-fleury' border) went on to become the Royal standard of Scotland, still used today but quartered with those of England and of Ireland. It became attached to him because the chronicler Fordun called him the "Lion of Justice".