Horatio Nelson

Lord Admiral Horatio Nelson was a British admiral who fought in the Napoleonic Wars and a personal friend of the Doctor. He defeated Napoléon Bonaparte's fleet at the Battle of Trafalgar, though it cost him his life. (PROSE: H.M.S. TARDIS, PROSE: World Game, PROSE: The Lions of Trafalgar)

Encounters with the Doctor
He twice met the second incarnation of the Doctor, once as he was about to be killed on the HMS Victory, and once shortly before that.

From the Doctor's point of view, their first meeting was when he, Ben and Polly materialised on the Victory. Ben, a fellow sailor, was very eager to meet Nelson, and convinced Nelson that he should send the famous battlecry, "England expects that every man this day will do his duty," to the rest of his fleet. The Doctor, for his part, attempted to change history and prevent Nelson from being killed, but he was unsuccessful. During the whole of the encounter, Nelson seemed more amicable to the TARDIS crew than did his flag captain, Thomas Hardy. (PROSE: H.M.S. TARDIS)

Much later in the life of the second incarnation of the Doctor, he was sent by the Celestial Intervention Agency with the Time Lord Serena to investigate unauthorised time meddling during the Napoleonic Wars. He discovered that a Player called the Countess intended to kill both Nelson and the Duke of Wellington simultaneously, completely re-writing world history.

In the course of his investigations into the Countess' activities, he met Nelson again when he and Serena thwarted a Player attempt to kill Nelson and Wellington simultaneously during a brief meeting between the two when both were waiting to meet the Prime Minister in 1794, the Doctor and Wellesley disposing of a small bomb that a Player had left in the building. (PROSE: World Game)

The Third Doctor met Nelson at a masked ball in Naples, Italy. (PROSE: Danse Macabre)

Legacy
For centuries to come, Nelson was remembered and honoured for his victory at Trafalgar. The Trafalgar Square in London was named for the victory, Nelson's Column was in the middle of the square, with a statue of Nelson on the top guarded by four Lion statues pointing in every direction. (TV: The Dalek Invasion of Earth)

Doctoral name dropping
Later versions of the Doctor were likely, but not necessarily, trading on these two encounters with Nelson when they dropped the admiral's name. While talking to a Royal Navy officer the Third Doctor claimed that Nelson was "a close personal friend". (TV: The Sea Devils) The Fourth Doctor claimed that he had breakfast with Nelson the day before the Battle at Trafalgar. (PROSE: Eye of Heaven) In his eighth incarnation, the Doctor claimed to have been "instrumental" at Trafalgar. (PROSE: The Scarlet Empress)

Behind the scenes
Nelson was played by Philip Pope in Blackadder's Christmas Carol.