The Third Task of the 1994-95 Triwizard Tournament took place on 24 June 1995: the champions entered a hedge maze grown on the Quidditch Pitch — the Lexicon describes "a maze of 20 foot high hedges on the quidditch pitch, with the Triwizard cup placed in the center" — and the first to reach the Triwizard Cup would win the tournament. Harry Potter and Cedric Diggory, tied for the lead, agreed to grasp the cup together. It was a Portkey: touching it carried them to the graveyard where Lord Voldemort's return was waiting.
The official encyclopedia frames what the maze was resuming: "a 700 year old competition established between three schools" — Hogwarts, Durmstrang and Beauxbatons — with champions' names "magically being selected from the Goblet of Fire", revived that year after a long break "due to a high fatality rate". The task standings sent the champions in order: the Lexicon's event record lists Cedric and Harry tied for first on 85 points and entering first, Krum second on 80, and Fleur last.
The safety plan was real, and so was the sabotage. Hagrid, McGonagall, "Moody" and Flitwick patrolled the maze edges to rescue champions who signalled with red sparks — while the man everyone took for Alastor Moody was Barty Crouch Jr., who had rigged the task from the start. The Lexicon's chapter commentary records that the fake Moody spent the task "cursing obstacles out of his way" so that Harry's path ran strangely clear — which is why "the lack of obstacles was unnerving him". Harry had prepared with Ron and Hermione, drilling the spells the event record lists — Expecto Patronum, Riddikulus, Stupefy, Impedimenta among them — though the Lexicon notes they failed against creatures' thick hides. Molly Weasley and Bill Weasley had come to watch.
The maze narrowed the field. Fleur was heard screaming somewhere ahead and became the first champion out of the running — the chapter record noting the false Moody later admitted he "Stunned Fleur". Krum was not himself: he had been put under the Imperius Curse by the fake Moody, and Harry found him casting Crucio on Cedric, hitting him with Stupefy before the pair sent up red sparks for him. The obstacles that remained for Harry, per the event record, were a boggart disguised as a Dementor, enchanted gold mist that turned the world upside down, a Blast-Ended Skrewt, an acromantula, and a Sphinx with a riddle whose three clues spelled out "spider" before its closing question: "Which creature would you be unwilling to kiss?"
The ending was decided by decency. Harry, injured helping Cedric overcome the Acromantula, refused the cup alone, and Cedric — "walking away from the sort of glory Hufflepuff House hadn't had in centuries" — refused it too. "We both got here. Let's just take it together", Harry said, in what the Lexicon calls "a beautiful gesture of inter-House unity", tragically "so savagely turned against both boys". The cup the false Moody had made a Portkey — his scheme being that "Harry reaches the Portkey/Triwizard Cup before any of the other champions", so that Voldemort could be "restored to power by night's end" — carried them both to the graveyard the moment they touched it.
The task's completion and the tournament's destruction arrived together. What should have ended the task instead, as the Lexicon's record puts it, "transports them to a small graveyard miles away from Hogwarts" — Little Hangleton, where that same night Wormtail killed Cedric on Voldemort's order, an event kept on the Cedric Diggory Death page, and the Voldemort Resurrection followed. The shared victory became a double tragedy, and the tournament's brief revival ended in the Ministry's year of denial.
For the series, the maze is where the first four books' school-story frame breaks: a competition with judges and red-spark rescues turns out to have been a murder plot all along. The pattern of covert help that carried Harry through the First Task and Second Task is revealed here as Crouch Jr.'s engineering, and the Triwizard Cup itself — the trophy — becomes the weapon.