Malcolm IV did not live for long, and upon his death on 9 December 1165 at age 24, William ascended the throne. The new monarch was inaugurated on 24 December 1165. William was then a key player in the
Revolt of 1173–1174 against
Henry II, which was led by Henry's sons with some short-lived assistance from
Louis VII of France. The church in Scotland was also subjected to that of England. William acknowledged this by signing the
Treaty of Falaise and was then allowed to return to Scotland. On 10 August 1175 he swore fealty to Henry II at
York Castle and became his liege man. one on the
Black Isle at
Ederdour; and the other at Dunkeath, near the mouth of the Cromarty Firth opposite
Cromarty. The aim was to discourage the
Norse earls of Orkney from expanding beyond
Caithness. A further rising in 1181 involved Donald
Meic Uilleim, descendant of King
Duncan II. Donald briefly took over Ross; not until he died in 1187 was William able to reclaim Donald's stronghold of
Inverness. Further royal expeditions were required in 1197 and 1202 to fully neutralise the Orcadian threat. William also quarrelled with
Pope Alexander III, a quarrel which arose out of a double choice for the vacant
bishopric of St Andrews. The king put forward his chaplain,
Hugh, while the pope supported the archdeacon,
John Scotus, who had been canonically elected. A hostile interchange followed; then, after the death of Alexander in 1181, his successor,
Pope Lucius III, consented to a compromise by which Hugh got the bishopric and John became
bishop of Dunkeld. In 1188, William secured a
papal bull which declared that the Church of Scotland was directly subject only to Rome, thus rejecting the claims to supremacy put forward by the
English archbishop. In 1200, William did homage for Northumbria, not for Scotland, to Richard's successor,
John, apparently to save face. the ailing William agreed to his elder daughters marrying English nobles and, when the treaty was renewed in 1212, John apparently gained the hand of William's only surviving legitimate son, and heir,
Alexander, for his eldest daughter,
Joan. == Marriage and issue ==