Mazeworld

"More than 30 years after the British parliament suspended the death penalty, the gallows have been rebuilt. Adam Cadman became the first person hanged in Britain since 1964. But as his life faded away, the hanged man finds himself transported to another life, another place — Mazeworld! Bizarrely, Adam was still wearing the hood and noose that nearly killed him, but found he could not remove them. Two soldiers tried to arrest Adam but he escaped with the help of a warrior woman, Riadne. She took Adam too a meeting of rebels, who want to overthrow a tyrant Maze-lord called Maskul. According to legend, the First Emperor of Mazeworld had a guard called the Hooded One. If the rebels can convince others that Adam is the reincarnation of the Hooded One, the revolt could gain popular support. But Adam wants no part in their rebellion and tries to fight his way out..."

Mazeworld is a 2000 AD strip by Alan Grant and Arthur Ranson. There were three series: The Hanged Man (progs 1014 to 1023), The Dark Man (progs 1101 to 1110) and The Hell Maze (progs 1151 to 1160). The main character is a dying murderer who is transported to another dimension, or Purgatory. Or he could just be experiencing some strange inner fantasy as his oxygen-deprived brain shuts down. Every so often he feels the noose tighten around his neck and the image of the gallows and its sombre attendants sharpens in his vision, before fading away and returning him to the world of labyrinths and dragons.