Endogenous hepcidin and its agonist mediate resistance to selected infections by clearing non-transferrin-bound iron.