Hamilton, a centrally located port founded in 1790, became the seat of government in 1815. This was partly resultant from the Royal Navy having invested twelve years, following American independence, in charting Bermuda's reefs. It did this in order to locate the deepwater channel by which shipping might reach the islands in, and at the West of, the Great Sound, which it had begun acquiring with a view to building a naval base.