The fourth installment, "Harry Potter and the Goblet of Fire," was directed by Mike Newell and released in 2005. Harry is unexpectedly selected as a participant in the Triwizard Tournament, a magical competition between three schools. As Harry navigates the tournament, he must also confront the return of Lord Voldemort, who is slowly regaining power.

In 2007, David Yates made his directorial debut with "Harry Potter and the Order of the Phoenix." The film takes place as Harry returns to Hogwarts for his fifth year, only to find that the wizarding world has denied the return of Voldemort. Harry must form a secret group, Dumbledore's Army, to prepare his classmates for the impending battle against the Dark Lord.

The final book in the series, "Harry Potter and the Deathly Hallows," was adapted into two films, directed by David Yates. Part 1, released in 2010, follows Harry, Ron, and Hermione as they leave Hogwarts to search for the Horcruxes, objects containing pieces of Voldemort's soul. The trio faces numerous challenges as they prepare for the ultimate battle. Part 2, released in 2011, concludes the series with an epic showdown between Harry and Voldemort at Hogwarts.

The second installment, "Harry Potter and the Chamber of Secrets," was released in 2002, with Chris Columbus returning as director. The film takes place in Harry's second year at Hogwarts, where a mysterious Chamber of Secrets has been reopened, unleashing a monster that is petrifying Muggle-born students. Harry, Ron, and Hermione must navigate the challenges of school while also uncovering the truth behind the Chamber.