Bacteria inhabiting a biofilm are protected from physical stress, antimicrobials, and the host immune system, and thereby cause severe medical, environmental, and technical problems. Biofilm formation in Escherichia coli is regulated by two inversely controlled transcriptional feedforward cascades, the FlhDC/FliA cascade and the sigmaS/MlrA/CsgD cascade, which are active in post-exponentially growing and in stationary phase cells, respectively. Their final outputs, flagella production or the synthesis of the biofilm matrix components curli and cellulose, are mutually exclusive due to complementary sigma factor requirements, the abundant DNA-binding regulator FliZ, and opposite regulation by c-di-GMP. The RNA-binding protein CsrA, a central component of the global regulatory system, inhibits synthesis of the poly-N-acetyl-glucosamine (PGA) exopolysaccharide and glycogen and stimulates the expression of the flagellar master regulator FlhDC. CsrA activity is counteracted by two sRNAs, CsrB and CsrC. The lower figure shows that FlhDC, sigmaS, and CsgD, the transcription factors that control large regulons involved in flagellar and biofilm formation, serve as regulatory hubs for multiple environmental signal integration with a series of sRNAs providing distinct inputs.