<Tr> <Th> Budget </Th> <Td> $150 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $896.9 million </Td> </Tr> <P> Harry Potter and the Goblet of Fire is a 2005 British - American fantasy film directed by Mike Newell and distributed by Warner Bros. Pictures . It is based on the novel of the same name by J.K. Rowling . The film, which is the fourth instalment in the Harry Potter film series, was written by Steve Kloves and produced by David Heyman . The story follows Harry Potter's fourth year at Hogwarts as he is chosen by the Goblet of Fire to compete in the Triwizard Tournament . </P> <P> The film is the first of the series to receive a PG - 13 certificate in the US, and a 12A in the UK, and stars Daniel Radcliffe as Harry Potter alongside Rupert Grint and Emma Watson as Harry's best friends Ron Weasley and Hermione Granger . It is the sequel to Harry Potter and the Prisoner of Azkaban and is followed by Harry Potter and the Order of the Phoenix . </P>

When does the goblet of fire take place