The ultrahigh dose-rate (FLASH) radiotherapy, which is efficient in tumor control while sparing healthy tissue, has attracted intensive attention due to its revolutionary application prospect. This so-called FLASH effect has been reported in preclinical experiments with electrons, kilo-voltage X-rays, and protons, thus making FLASH a promising revolutionary radiotherapy modality. High energy X-ray (HEX) should be the ideal radiation type for clinical applications of FLASH due to its advantages in deep penetration, small divergence, and cost-friendly. In this work, we report the first implementation of HEXs with ultrahigh dose-rate (HEX-FLASH) and corresponding application of in vivo study of the FLASH effect produced by a high-current (10 mA), high-energy (6-8 MeV) superconducting linac. Joint measurements using radiochromic film, scintillator and Fast Current Transformer device validated that a maximum dose rate of over 1000 Gy/s was achieved in the mice and the mean value within several square centimeters keeps higher than 50 Gy/s within a depth of over 15 cm. The performance of the present HEX can satisfy the requirement of the FLASH study on animals. Breast cancer (EMT6) inoculated into BAL b/c mice was found efficiently controlled by HEX-FLASH. The radio-protective effect of normal tissue was observed on the C57BL/6 mice after thorax/abdomen irradiation by HEX-FLASH. Theoretical analyses of cellular response following HEX-FLASH irradiation based on the radiolytic oxygen depletion hypothesis were performed to interpret experimental results and future experiment design. This work provided the first demonstration of the FLASH effect triggered by HEX, which paved the way for future preclinical research and clinical application of HEX-FLASH.