A three-decker is a sail warship which carried her guns on three fully armed decks. Usually additional guns were carried on the upper works (forecastle and quarterdeck), but this was not a continuous battery and so did not count. Three-deckers were usually "ships of the line", i.e. of sufficient strength to participate in the line of battle, and in the rating system of the Royal Navy were generally classed as first or second rate, although from the mid-1690s until the 1750s the larger third rates were also three-deckers.
Three-deckers held special respect among the local community and the troops who farewelled these ships when they left the harbour. Such patriotism was expressed when HMS Britannia left Portsmouth bound for active service in the Mediterranean, in October 1840:
It is customary at all times for many persons to congregate on the platform when a three-decker leaves the harbour, for such an occurrence is somewhat rare; but the events connected with the necessity of reinforcing our squadron in the Mediterranean, and the contemplation of this noble ship may be called upon to take part in these measures already so gallantly begun, imparted additional interest to Britannia leaving the harbour; and on this occasion, therefore, the platform and ramparts were crowded with spectators. When the Britannia came abreast of the platform at 11 o'clock, the hour at which the troops appointed for the day's duty are inspected prior to their marching off to their respective guards, the commanding officer ordered the troops to pile their arms and mount the ramparts ... followed by the splendid band of the 72d Regiment, and, waving their caps, spontaneously gave three hearty cheers, in which they were joined by the concourse assembled. This was repeated several times, the band continuing to play "Rule Britannia."