ROME — Pope Francis marked the 12th anniversary of his pontificate Thursday in the hospital — the first pope to do so in modern church history — as he received increasingly positive medical news on his recovery, a cake and hundreds of messages wishing him well.

The pope spent the morning in physiotherapy, followed Lenten spiritual exercises of the Roman curia and stopped to pray at the chapel in the Gemelli Hospital, where he has been under treatment for a complex lung infection since Feb. 14, Vatican sources said.

In the afternoon, he received a cake from hospital personnel.

A chest X-ray has confirmed improvements in his condition, the Vatican said on Wednesday, just two days after doctors declared he’s no longer in imminent danger of death.

The latest medical bulletin said that the 88-year-old pope’s condition remained stable but indicated a complex picture considering his overall fragility, which includes his age, limited mobility often requiring a wheelchair and the removal of part of a lung as a young man.

— The Associated Press