But, as the show enters a new age, Cavanagh says he thought it was time to break ways, telling Entertainment Weekly that it was "absolutely [his] decision" to go. The Wells characters have been entertaining, but as we've said before, the program is named The Flash, and it'll be fine without me. Cavanagh first joined The CW's superhero drama in 2014, when it was still called Batman TV series. He had a one-year contract with the show, and after its successful renewal for another season, he decided to move on. In addition to playing Wells, Cavanagh has also appeared in several other television shows including Glee, Heroes, Six Feet Under, and Veronica Mars. He has also starred in several films including The Sorcerer's Apprentice, Alpha Dog, and The Internship. But his most famous role is probably that of Harry Potter headmaster Dumbledore, who he played from 2001 to 2013. Dumbledore was such an important part of the Harry Potter stories that J.K. Rowling actually wrote an epilogue for each novel in which she discussed what would have happened to him had he not died at the end of Goblet of Fire.