The present invention relates to the medical application of (E)-N-(2-aminophenyl)-3-(1-((4-(1-methyl-1H-pyrazol-4-yl)phenyl)sulfonyl)-1H-pyrrol-3-yl)acrylamide or a salt, prodrug or solvate thereof in the treatment of latent viral infections, such as latent viral infections with HIV.本發明涉及(E)-N-(2-胺基苯基)-3-(1-((4-(1-甲基-1H-吡唑-4-基)苯基)磺醯基)-1H-吡咯-3-基)丙烯醯胺或其鹽、前藥或溶劑合物在治療潛伏病毒感染(如,HIV的潛伏病毒感染)中之醫療應用。