 Land and buildings for a permanent Naval Yard were purchased in 1758 and the Yard was officially commissioned in 1759.The Yard served as the main base for the Royal Navy in North America during the Seven Years' War, the American Revolution, the French Revolutionary Wars and the War of 1812.In 1818 Halifax became the summer base for the squadron which shifted to the Royal Naval Dockyard, Bermuda for the remainder of the year.