During the Spanish Civil War in full defense of Madrid, the church is closed and the hospital continues functioning. The area is devastated by intense artillery bombardment, and the church is completely in ruins. After the war the building was reconstructed. The Act of March 7, 1940 the Royal Patronage is integrated to the National Heritage with the rest of the former Royals Patronages. The final decline of the hospital is marked by resolution of the Board of Administration of the National Heritage of June 9, 1942, by which it removed the hospital services of el Buen Suceso, which become covered by the Directorate General of Health of the Army of Air, using the same building through a lease. This meant, in fact, the liquidation of the historic Patronage, by depriving of its essential purpose, even if, in law, it has prolonged its existence until today. The religious cult continues until now, thanks to the agreement signed by the National Heritage and the Diocese of Madrid-Alcalá, whereby is ceded the building for the operation of the new parish of the Blessed Corpus Christi in the Iglesia del Buen Suceso.