Sheridan had risen to lieutenant by the end of the French Revolutionary Wars, and with the resumption of hostilities in 1803 was serving in the English Channel. Here he acquitted himself well in several actions, after which he moved to the Baltic and was active in several engagements against the Russians during the Anglo-Russian War. Promoted to commander as a result, he took the bomb vessel to North America and was present at the assault on Fort McHenry during the Battle of Baltimore, actions which inspired the writing of the poem that became the words to "The Star-Spangled Banner". Promoted to post-captain towards the end of the Napoleonic Wars he retired ashore, and died in 1862 with the rank of vice-admiral.