Triwizard Maze

On 24 June, 1995, the Third Task for the Triwizard Tournament was to navigate a maze grown on the Hogwarts Quidditch pitch. The hedge maze was populated by various obstacles and dangers that each Champion had to overcome. Bartemius Crouch Jr., as Professor Moody, was entrusted with placing the Triwizard Cup at the centre of the maze. While doing this, he enchanted the Cup to become a Portkey that would be activated by touching the object.

Obstacles
Cedric and Harry, tying for first place after two tasks, were to enter the maze first, followed by Viktor, and then Fleur. The first Champion to successfully navigate the maze and reach the Cup would be declared the winner.During the task, Cedric encountered a Blast-Ended Skrewt, which he barely escaped from. Fleur was incapacitated by a Venomous Tentacula and did not participate in the rest of the task. Harry had to deal with a Boggart in the form of a Dementor, and overcame an odd golden mist which turned things upside-down. Crouch Jr, however, was leaving nothing to chance. Using Moody's magical eye, he watched events unfold in the maze, keeping the more dangerous obstacles out of Harry's path. He also Stunned Fleur, and placed the Imperius Curse on Viktor. He used Viktor to attack Cedric with the Cruciatus Curse in order to clear Harry's path to the Cup.

The Blast-Ended Skrewt and the Sphinx
Harry encountered the Blast-Ended Skrewt that had attacked Cedric, then heard Cedric being tortured, and rescued him by Stunning Viktor. Cedric and Harry parted company, and Harry had to answer a riddle from a Sphinx to continue on into the maze.

Conclusion of the Third Task
Cedric and Harry joined forces to defeat an Acromantula, before they both arrived at the Cup together. After an argument over who deserved to win more, they decided to take the Cup together, since it would still be a Hogwarts victory. Touching the Cup at the same moment, they activated it as a Portkey, and were transported out of the maze. This task eventually lead to the Return of the Dark Lord and the Duel in Little Hangleton, and Cedric Diggory's death.