A stone frigate is a nickname for a naval establishment on land. The term has its origin in Britain's Royal Navy after its use of Diamond Rock, off Martinique, as a 'sloop of war' to harass the French. The command of this first stone frigate was given to Commodore Hood's first lieutenant, James Wilkes Maurice, who, with cannon taken off the Commodore's ship, manned it with a crew of 120 until its capture by the French in the Battle of Diamond Rock in 1805.
Until the late 19th century, the Royal Navy housed training and other support facilities in hulks—old wooden ships of the line—moored in ports as receiving ships, depot ships, or floating barracks. The Admiralty regarded shore accommodation as expensive and liable to lead to indiscipline. These floating establishments kept their names while the actual vessels housing them changed. For example, the gunnery training school at Portsmouth occupied three ships between its foundation in 1830 and its move ashore in 1891 but all were named (or renamed) HMS Excellent.
As ships began to use increasingly complex technology during the late 19th century, these facilities became too large to continue afloat and were moved to shore establishments while keeping their names. An early "stone frigate" was the engineering training college HMS Marlborough, moved ashore to Portsmouth in 1880. The gunnery school continued to be named HMS Excellent after its move ashore to Whale Island in 1891. By World War I there were about 25 "stone frigates" in the United Kingdom.