Question: Lego Harry Potter: Years 5-7 is partially based on the movie Harry Potter and the Deathly Hallows - Part 1 which was released in which year?
Context: A Very Potter Musical (originally titled Harry Potter: The Musical and often shortened to AVPM) is a musical with music and lyrics by Darren Criss and A. J. Holmes and a book by Matt Lang, Nick Lang and Brian Holden.  The story is a parody, based on several of the "Harry Potter" novels (particularly "Harry Potter and the Philosopher's Stone", "Harry Potter and the Goblet of Fire" and "Harry Potter and the Deathly Hallows") by J. K. Rowling, as well as their film counterparts. Harry Potter and the Deathly Hallows is the seventh and final novel of the "Harry Potter" series, written by British author J. K. Rowling.  The book was released on 21 July 2007, ten years after publication of "Harry Potter and the Philosopher's Stone" (1997), by Bloomsbury Publishing in the United Kingdom, in the United States by Scholastic, and in Canada by Raincoast Books, ending the series that began in 1997 with the publication of "Harry Potter and the Philosopher's Stone".  The novel chronicles the events directly following "Harry Potter and the Half-Blood Prince" (2005), and the final confrontation between the wizards Harry Potter and Lord Voldemort, as well as revealing the previously concealed back story of several main characters.  The title of the book refers to three mythical objects featured in the story, collectively known as the "Deathly Hallows"—an unbeatable wand, a stone to bring the dead to life, and a cloak of invisibility. Harry Potter and the Deathly Hallows – Part 1 is a 2010 British-American fantasy film directed by David Yates and distributed by Warner Bros.  Pictures.  It is the first of two cinematic parts based on the novel of the same name by J. K. Rowling and features an ensemble cast.  The film, which is the seventh and penultimate installment in the "Harry Potter" film series, was written by Steve Kloves and produced by David Heyman, David Barron, and Rowling. Thomas Andrew Felton (born September 22, 1987) is an English actor.  Felton began appearing in commercials when he was eight years old for companies such as Commercial Union and Barclaycard.  He made his screen debut in the role of Peagreen Clock in "The Borrowers" (1997) and he portrayed Louis T. Leonowens in "Anna and the King" (1999).  He rose to prominence for his role as Draco Malfoy in the film adaptions of the best-selling "Harry Potter" fantasy novels by J.K. Rowling.  His performances in "Harry Potter and the Half-Blood Prince" and "Harry Potter and the Deathly Hallows – Part 1" won him two consecutive MTV Movie Awards for Best Villain in 2010 and 2011. Harry Potter and the Deathly Hallows – Part 2 is a 2011 British-American fantasy film directed by David Yates and distributed by Warner Bros.  Pictures.  It is the second of two cinematic parts based on the novel of the same name by J. K. Rowling.  The film, which is the eighth and final instalment in the "Harry Potter" film series, was written by Steve Kloves and produced by David Heyman, David Barron, and Rowling.  It is the sequel to "Harry Potter and the Deathly Hallows – Part 1".  The story continues to follow Harry Potter's quest to find and destroy Lord Voldemort's Horcruxes in order to stop him once and for all. Lego Harry Potter: Years 5–7 is a Lego-themed action-adventure video game developed by Traveller's Tales and published by Warner Bros.  Interactive Entertainment.  Released on 11 November 2011 in North America and 18 November in Europe, the game is based on the Lego Harry Potter line and is based on the final three books and four films in the "Harry Potter" series: "Harry Potter and the Order of the Phoenix", "Harry Potter and the Half-Blood Prince", "Harry Potter and the Deathly Hallows – Part 1", and "Harry Potter and the Deathly Hallows – Part 2".  The game was released for the PlayStation 3, Xbox 360, PlayStation Portable, PlayStation Vita, Wii, Nintendo DS, Nintendo 3DS, Microsoft Windows, iOS and Android.  The first trailer of three trailers was released 6 October 2011, and the demo was released on 1 November.  The game was released on Steam on 5 January 2012.  The OS X version of the game was released by Feral Interactive on 7 March 2012.  The game was released for the PlayStation 4 on October 21, 2016, as part of the "Lego Harry Potter Collection", which bundles the game with its predecessor, "". Harry Potter is a British-American film series based on the "Harry Potter" novels by author J. K. Rowling.  The series is distributed by Warner Bros. and consists of eight fantasy films, beginning with "Harry Potter and the Philosopher's Stone" (2001) and culminating with "Harry Potter and the Deathly Hallows – Part 2" (2011).  A spin-off prequel series will consist of five films, starting with "Fantastic Beasts and Where to Find Them" (2016).  The "Fantastic Beasts" films mark the beginning of a shared media franchise known as J. K. Rowling's Wizarding World. MuggleNet is a "Harry Potter" fansite founded by Emerson Spartz.  The site is composed of news, editorials, and synopses of the "Harry Potter" books and films, an encyclopedia of the books, an IRC network, in which the fans of "Harry Potter" can discuss predictions and share thoughts, a discussion forum, and media such as screenshots, theatrical trailers, and book covers.  There is also a fan fiction section, a weekly caption contest, and other occasional contests and polls.  On August 9, 2005, it launched a podcast, dubbed "MuggleCast", as well as its own line of clothing, toy wands, and other merchandise.  In 2006, MuggleNet released a best-selling reference book on "Harry Potter and the Deathly Hallows", the final book in the series.  As of 2008, MuggleNet is owned by Spartz, Inc., an Indiana corporation registered by Emerson Spartz in 2007.  On May 29, 2010, MuggleNet 2.0, an updated version of the site, went live.  On April 1, 2014, MuggleNet 3.0 was launched to the public. The James Potter series is an unofficial sequel-series of J.K. Rowling's Harry Potter universe, written by G. Norman Lippert.  The novel series centers around the character of James Sirius Potter, Harry Potter's son, a character who makes a fleeting appearance in the novel "Harry Potter and the Deathly Hallows".  The series starts with his first year at Hogwarts, set one year before the end of the Harry Potter series. Lego Harry Potter: Years 1–4 is a Lego-themed action-adventure video game developed by Traveller's Tales and published by Warner Bros.  The game is based on the Lego Harry Potter line and its storyline covers the first four films in the "Harry Potter" series: "Harry Potter and the Sorcerer's Stone", "Harry Potter and the Chamber of Secrets", "Harry Potter and the Prisoner of Azkaban", and "Harry Potter and the Goblet of Fire".  The game is available on the Wii, Xbox 360, PlayStation 3, Nintendo DS, PlayStation Portable, Microsoft Windows, OS X, iOS and Android.  The OS X version of the game was released on 22 February 2011 by Feral Interactive.  The game was released for the PlayStation 4 on October 21, 2016, as part of the "Lego Harry Potter Collection", which bundles the game with its sequel, "".
Answer: 2010