IL-23 is essential for T cell-mediated colitis and promotes inflammation via IL-17 and IL-6.