The Simpsons Movie
It was the last episode to air prior to "The Simpsons Movie", which was released two months later on July 27, 2007.