Thus, the MYB gene characterized in this study was designated as TaPIMP2. TaPIMP2 exhibited distinct expression patterns in responses to the infections of B. sorakiniana and R. cerealis. The defense functions of TaPIMP2 to these two pathogens were investigated through generation and assessment of TaPIMP2 knockdown and overexpression wheat plants. Here, MYB is linked to infection.