We find that SLPI is increased during UTI, accelerates the clearance of bacteriuria, and upregulates genes and pathways needed to fight an infection while preventing prolonged bladder inflammation. The gene discussed is SLPI; the disease is infection.