Fourth Doctor's regeneration

"It's the end. But the moment has been prepared for."

- The Fourth Doctor's last words.

The Fourth Doctor underwent his regeneration into the Fifth Doctor after falling from the Pharos Project telescope. (TV: Logopolis) This was the fourth regeneration of the 12-regeneration life cycle beginning with the First Doctor. (TV: The Time of the Doctor)

Anticipation
After receiving a summons from Gallifrey, and telling Sarah Jane Smith that he had to leave her behind to answer it, Sarah Jane asked to Doctor if the summons meant he would regenerate again, to which he voiced his own uncertainty. (TV: The Hand of Fear)

Regeneration
As Doctor anticipated his death while dangling, his mind flashed memories of, a Dalek, the Nomad Cyber-Leader, the Captain, Davros, a Sontaran, a Zygon, and the Black Guardian.

After the fall, he saw Sarah Jane Smith, Harry Sullivan, the Brigadier, Leela, K9 and Romana's first and second incarnations. (TV: Logopolis)