These data indicate that STAT3 may confer a protective effect against pathogens by controlling bacterial growth and infection via transcriptional regulation of antimicrobial genes during colitis development. This evidence concerns the gene STAT3 and infection.