Question: What was the name of the character played by an actor from the last six Harry Potter films in the BBC television serial "The Singing Detective"?

Context articles: Michael Gambon
Fantastic Beasts and Where to Find Them
The Singing Detective
Lego Harry Potter
Lego Harry Potter: Years 5–7
James Potter (series)
Afshin Zinoori
Janet Henfrey
Lego Harry Potter: Years 1–4
The Actors

Sir Michael John Gambon {'1': ", '2': ", '3': ", '4': "} (born 19 October 1940) is an Irish-born English actor who has worked in theatre, television and film.
 Gambon has played the eponymous mystery writer protagonist in the BBC television serial "The Singing Detective", Jules Maigret in the 1990s ITV serial "Maigret", and Professor Albus Dumbledore in the final six "Harry Potter" films after the death of previous actor Richard Harris.
 He has won four BAFTA TV Awards and three Olivier Awards.
Fantastic Beasts and Where to Find Them is a 2001 book written by British author J. K. Rowling (under the pen name of the fictitious author Newt Scamander) about the magical creatures in the "Harry Potter" universe.
 The original version purports to be Harry Potter's copy of the textbook of the same name mentioned in "Harry Potter and the Philosopher's Stone" (or "Harry Potter and the Sorcerer's Stone" in the US), the first novel of the "Harry Potter" series.
 It includes several notes inside it supposedly handwritten by Harry, Ron Weasley, and Hermione Granger, detailing their own experiences with some of the beasts described, and including in-jokes relating to the original series.
The Singing Detective is a BBC television serial drama, written by Dennis Potter, which stars Michael Gambon and was directed by Jon Amiel.
 The six episodes were "Skin", "Heat", "Lovely Days", "Clues", "Pitter Patter" and "Who Done It".
Lego "Harry Potter" is a Lego theme based on the films of the "Harry Potter" series.
 Lego models of important scenes, vehicles and characters were made for the first six films and all the books released.
 The first sets appeared in 2001, to coincide with the release of the first film "Harry Potter and the Philosopher's Stone" (Harry Potter and the Sorcerer's Stone in the United States).
 Subsequent sets were released alongside the new films, until Harry Potter and the Order of the Phoenix.
 The line then went dormant for three years.
 It is unknown if the theme will again be revived to coincide with future installations in the Harry Potter franchise, such as the film Fantastic Beasts and Where to Find Them.
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, "".
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.
Afshin Zinoori (افشين زی‌نوری) (born April 30, 1976), is an Iranian actor who is known for Persian voice-dubbing foreign films and television programs.
 He was originally born from Tehran.
 He is known for dubbing over Elijah Wood's role as Frodo Baggins from "The Lord of the Rings" film trilogy and has also dubbed over some of Leonardo DiCaprio and Matt Damon's voice roles in films they starred in.
 He has also dubbed over Daniel Radcliffe's role as Harry Potter, from the Harry Potter films 3-5.
Janet E. A. Henfrey (born 16 August 1935) is a British stage and television actress.
 She is best known for playing Mrs. Bale on "As Time Goes By", which is still rerun in the United States on PBS stations, and for her role as the schoolteacher in the BBC Dennis Potter serial "The Singing Detective" (1986).
 She had previously appeared in the Potter play "Stand Up, Nigel Barton" (1965), also as a schoolteacher.
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, "".
The Actors is a 2003 film written and directed by Conor McPherson and starring Dylan Moran and Michael Caine.
 In supporting roles are Michael Gambon, Miranda Richardson and Lena Headey.