The present invention reveals a nucleic acid sequence from Nicotiana megalosiphon encoding for an anti-pathogenic protein. The invention comprises the use of this nucleic acid molecule in transgenic plants of agricultural interest to confer resistance to pathogens. The invention also includes a bioproduct that comprises this anti-pathogenic protein to control plant pathogen agents.