In the fractured multiverse created by Sabbath's interference, Kowaczski invented the first time machine on Earth in the early 21st century. His trips backward created more and more alternate timelines, in many of which he died. One set included a Mars where life evolved from multiple versions of his decaying body dying in the planets' distant past.
The Eighth Doctor managed to fix the problems caused by the trips of the multiple Jacks by taking him as a baby back to ancient Egypt so he would never invent a time machine. When that version grew up, he was named Akhenaton, also known as Ak. Two survived out of all the timelines. (PROSE: The Last Resort)