Question: 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?
Sentence (from "Stan Van Gundy"): Van Gundy then coached the Orlando Magic for five seasons from 2007 to 2012, leading them to the 2009 NBA Finals.
Relevant evidence: Yes