The anime adaptation of The Melancholy of Haruhi Suzumiya (涼宮ハルヒの憂鬱, Suzumiya Haruhi no Yūutsu), produced by the Japanese animation studio Kyoto Animation and directed by Tatsuya Ishihara, contained 14 episodes which aired in Japan between April 2 and July 2, 2006. It was originally aired in a nonlinear order, with the prologue and first seven chapters of the first novel intermixed with chapters from some of the later novels. The "next episode" previews feature two different episode numberings: one number from Haruhi, who numbers the episodes in chronological order, and one number from Kyon, who numbers them in broadcast order. The DVD releases start with "Episode 00" and are then shown in chronological order. The anime was licensed and distributed by Bandai Entertainment over four DVDs released between May and November 2007. A complete box set was later released on July 29, 2008.