there were various attempts to create royal naval forces in the fifteenth century. james iv put the enterprise on a new footing, founding a harbour at newhaven in may 1504, and two years later ordering the construction of a dockyard at the pools of airth. the upper reaches of the forth were protected by new fortifications on inchgarvie. the king acquired a total of 38 ships for the royal scottish navy, including the "margaret", and the carrack "michael" or "great michael". the latter, built at great expense at newhaven and launched in 1511, was in length, weighed 1,000 tons, had 24 cannon, and was, at that time, the largest ship in europe. scottish ships had some success against privateers, accompanied the king in his expeditions in the islands and intervened in conflicts in scandinavia and the baltic. in the flodden campaign the fleet consisted of 16 large and 10 smaller craft. after a raid on carrickfergus in ireland, it joined up with the french and had little impact on the war. after the disaster at flodden the great michael, and perhaps other ships, were sold to the french. the king's ships disappeared from royal records after 1516 and scottish naval efforts would rely on privateering captains and hired merchantmen during the minority of james v. in the italian war of 1521–26, in which england and scotland became involved on opposing sides, the scots had six men-of-war active attacking english and imperial shipping and they blockaded the humber in 1523. although prizes were taken by robert barton and other captains, the naval campaign was sporadic and indecisive.