Question: Who prepared for an invasion by a king who had Earl Skule Bårdsson as a rival?

<P0-S0> Findlater Castle is the old seat of the Earls of Findlater and Seafield, sitting on a 50 ft -high cliff overlooking the Moray Firth on the coast of Banff and Buchan, Aberdeenshire, Scotland. <P0-S1>  It lies about 15 km west of Banff, near the village of Sandend, between Cullen and Portsoy. <P0-S2>  The cliffs here contain quartz; the name "Findlater" is derived not from Norse as earlier stated here, but from the Scots Gaelic words "fionn" ("white") and "leitir" ("cliff or steep slope"). <P0-S3>  The first historical reference to the castle is from 1246. <P0-S4>  King Alexander III of Scotland repaired this castle in the 1260s in preparation for an invasion by King Haakon IV of Norway. <P0-S5>  The Vikings took and held the castle for some time. <P0-S6>  The castle remains that are still there are from the 14th-century rebuilding, when the castle was redesigned based on the Roslyn Castle model. <SEP> <P1-S0> The civil war era in Norway (Norwegian: "borgerkrigstiden") is the history of Norway between 1130 and 1240. <P1-S1>  During this time a series of civil wars were fought between rival kings and pretenders to the throne. <P1-S2>  The reasons for the war was the weak succession of King Sigurd the Crusader, leaving the country between his bastard son Magnus and his alleged (but uncertain) brother, Harald Gillekrist, who were on bad terms long before King Sigurd died. <P1-S3>  The goal of the warring parties was always to put their man on the throne, starting with the death of King Sigurd the Crusader in 1130, a supposedly adored monarch. <P1-S4>  In the first decades of the civil wars, alliances shifted and centered on the person of a king or pretender, but eventually, towards the end of the 12th century, two rival parties emerged, known as the Birkebeiner and the Bagler. <P1-S5>  After these two parties were reconciled in 1217, a more ordered system of government centered on the king was gradually able to bring an end to the frequent risings. <P1-S6>  The failed rising of duke Skule Bårdsson in 1240 was the final event of the civil war era. <SEP> <P2-S0> A planned invasion of Great Britain was to be undertaken by France in 1744 shortly after the declaration of war between them as part of the War of the Austrian Succession. <P2-S1>  A large invasion force was prepared and put to sea from Dunkirk in February 1744, only to be partly wrecked and driven back into harbour by violent storms. <P2-S2>  Deciding that circumstances were not favourable to an invasion, the French government suspended the attempt, and deployed their forces elsewhere. <SEP> <P3-S0> Haakon Haakonsson (c. March/April 1204 – 16 December 1263) (Old Norse: "Hákon Hákonarson"; Norwegian: "Håkon Håkonsson"), sometimes called Haakon the Old in contrast to his son with the same name, and known in modern regnal lists as Haakon IV, was the King of Norway from 1217 to 1263. <P3-S1>  His reign lasted for 46 years, longer than any Norwegian king since Harald I. <P3-S2>  Haakon was born into the troubled civil war era in Norway, but his reign eventually managed to put an end to the internal conflicts. <P3-S3>  At the start of his reign, during his minority, his later rival Earl Skule Bårdsson served as regent. <P3-S4>  As a king of the birkebeiner faction, Haakon defeated the uprising of the final bagler royal pretender, Sigurd Ribbung, in 1227. <P3-S5>  He put a definitive end to the civil war era when he had Skule Bårdsson killed in 1240, a year after he had himself proclaimed king in opposition to Haakon. <P3-S6>  Haakon thereafter formally appointed his own son as his co-regent.