HMS York was a 74-gun third-rate ship of the line of the Royal Navy, built at Rotherhithe by the contract firm Samuel & Daniel Brent, and launched on 7 July 1807. She saw service during the Napoleonic Wars, though is best known for her time spent as a prison ship. She was broken up in March 1854.
HMS York was one of many British warships ordered after they were most needed. Although the major naval battles of the Napoleonic Wars had already occurred by the time of her launching, York was employed on some notable campaigns.
After her launch, York was under the command of Captain Robert Barton, and as part of Sir Samuel Hood's squadron, she participated in the occupation of Madeira.
In 1809, York was on the West India Station, and was involved in the capture of Martinique. In April a strong French squadron arrived at the Îles des Saintes, south of Guadeloupe. There they were blockaded until 14 April, when a British force under Major-General Frederick Maitland and Captain Philip Beaver in, invaded and captured the islands. York was among the naval vessels that shared in the proceeds of the capture of the islands.
In July–August 1809 York was involved in the disastrous landings at Walcheren. York was later with the Mediterranean Squadron off Toulon.
On 17 December 1813 York captured Marie Antoinette.
In 1819, York entered Portsmouth harbour, where she was stripped of her masts and guns, and converted into a prison ship. HMS York is best remembered in this state, thanks to a contemporary drawing by Edward William Cooke, which shows her fully converted, and with laundry above her decks where sails once would have been. She would have typically contained approximately 500 convicts.
After many years in this harbour service, she was broken up in March 1854.