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.
2006–07 Philadelphia 76ers season The 2006–07 Philadelphia 76ers season was the 68th season of the franchise, 58th in the National Basketball Association (NBA). The Sixers finished with a record of 35–47. The 2006–07 Sixers season also marked the end of Allen Iverson's tenure with the Sixers, after a blockbuster trade sent Allen Iverson to Denver in return for Andre Miller, Joe Smith, and two first round draft picks in the 2007 NBA draft. Despite the trade, and after having a record of 5–18 before the Iverson trade, the Sixers finished 30–29 for the remainder of the season.