Which team did the head coach who resigned early in the season of The 2005–06 Miami Heat season go on to coach from 2007 to 2012?
Stan Van Gundy Stanley Alan Van Gundy (born August 26, 1959) is an American professional basketball coach, currently serving as the head coach and president of basketball operations of the National Basketball Association's Detroit Pistons. From 2003 to 2005, he was the head coach of the Miami Heat but resigned in 2005 mid-season, turning the job over to Pat Riley. Van Gundy then coached the Orlando Magic for five seasons from 2007 to 2012, leading them to the 2009 NBA Finals. He is the brother of former New York Knicks and Houston Rockets coach Jeff Van Gundy.
Billy Donovan William John Donovan Jr. (born May 30, 1965) is an American professional basketball coach who is currently the head coach for the Oklahoma City Thunder of the National Basketball Association (NBA). He previously spent 19 seasons at the University of Florida, where his Florida Gators teams won back-to-back NCAA championships in 2006 and 2007. Donovan has more wins than any other coach in the history of the Florida basketball program, and he coached the Gators to more NCAA tournament appearances, NCAA tournament wins, and Southeastern Conference (SEC) championships than all other Florida coaches combined.