The invention relates to a composition comprising pea protein hydrolysate for the treatment and/or prevention of infection by gastrointestinal pathogens, in particular Helicobacter pylori and/or a disease associated with infection by said gastrointestinal pathogen in mammals.