ROME — Doctors said Monday Pope Francis is no longer in imminent danger of death as a result of pneumonia that has kept him hospitalized for nearly a month, but have decided to keep him hospitalized for several more days to receive treatment.

In a late update, the doctors said the 88-year-old pope remains stable and has consolidated improvements in recent days, as determined by blood tests and positive responses to drug treatments.

The Vatican said the doctors had lifted their previous “guarded” prognosis, meaning they determined he was no longer in imminent danger as a result of the original respiratory infection he arrived with on Feb. 14. But their caution remained.

“However, in view of the complexity of the clinical picture and the important infectious picture presented on admission, it will be necessary to continue medical drug therapy in a hospital setting for additional days,” according to the Vatican statement.

In a sign of his improved health, Francis followed the Vatican’s weeklong spiritual retreat via videoconference on Monday in both the morning and afternoon sessions.

As he did on Sunday, Francis participated in the retreat remotely from the Rome hospital where he is being treated. He could see and hear the Rev. Roberto Pasolini, preacher of the papal household, but the priests, bishops and cardinals gathered for the retreat in the Vatican auditorium could not see or hear him.

Francis also resumed his physical and respiratory therapy at the Gemelli hospital, and rested and prayed inbetween.