The capture of HMS Macedonian was a naval action fought near Madeira on 25 October 1812 between the heavy frigate USS United States, commanded by Stephen Decatur, and the frigate HMS Macedonian, under the command of John Surman Carden. The American vessel won the long bloody battle, capturing and bringing Macedonian back to the United States. It was the first British warship to ever be brought into an American harbor.