Pope Francis will preside at a funeral Mass in St. Peter’s Square on Thursday for his predecessor, former Pope Benedict, who died Saturday at 95.

More than 60,000 people are expected to attend. There will be official delegations from Italy and Benedict’s native Germany. Other leaders, including the king and queen of Belgium and the queen of Spain, and about 13 heads of state of state or government, will attend in a private capacity. Most countries will be represented by their ambassadors to the Vatican.

Here is a guide to what is expected to happen:

End of lying in state

Since Monday, the body of the emeritus pope has been lying in state in St. Peter’s Basilica, where more than 160,000 people had filed past to pay their respects as of midday Wednesday.

The viewing is due to end at 7 p.m. local time (1800 GMT). The body will then be placed in a coffin made of cypress wood, along with several papal items such as vestments symbolizing his role as pope and bishop, and coins and medals that were minted during his pontificate. Also included will be a lead tube with a deed in Latin listing the key points in his pontificate.

The cypress coffin will be closed privately in the presence of a few close aides, such as Archbishop Georg Ganswein, who was Benedict’s longtime secretary, and other members of the household where he lived after he resigned the papacy in 2013, the first pope to do so in 600 years.

Procession, prayers and Mass

At 8:45 a.m. local time (0745 GMT) Thursday, ushers known as papal gentlemen will carry the coffin in procession out of the basilica and place it on the steps facing St. Peter’s Square. The faithful will pray the rosary for about 45 minutes.

The funeral Mass presided over by Pope Francis is to start at 9:30 a.m. local time (0830 GMT). At first, the pope will sit before the coffin facing the crowd. The Sistine Chapel choir will start its singing with the introductory rites.

The pope will then move to a chair to the side of the altar and preside from there, sitting most of the time because of a knee aliment that impedes him from standing for too long. The celebrant standing at the altar will be Italian Cardinal Giovanni Battista Re, dean of the College of Cardinals.

Francis will deliver the homily at the Mass, which will be con-celebrated by 120 cardinals, 400 bishops and nearly 4,000 priests.

At the end of the Mass, Francis will recite The Final Commendation and Farewell asking God to “console the Church.”

The liturgy for the funeral Mass is based mostly on that for a pope who dies while reigning, with some minor modifications, particularly in a few prayers and readings.

One prayer will include petitions to God for both Benedict and Francis.

Near the end of the Mass, Francis will sprinkle holy water on the coffin and wave incense around it.

He will say in Latin: “Gracious Father, we commend to your mercy Pope Emeritus Benedict, whom you made successor of Peter and shepherd of the Church, a fearless preacher of your word and a faithful minister of the divine mysteries.”

The choir will then sing in Latin: “May the angels lead you into paradise; may the martyrs come and welcome you and take you into the holy city, the new and eternal Jerusalem.”

Private service and burial

The pallbearers will then carry the cypress coffin back into the basilica for a private service in which it will be sealed and wrapped in ribbons.

It will then be placed into a zinc coffin, which will be soldered shut. Both will then go into a larger, wooden coffin.

Benedict will then be buried according to his wishes in the same spot in the crypts under St. Peter’s Basilica where Pope John Paul II was originally interred in 2005 before his body was moved up to a chapel in the basilica in 2011.

The burial will also be a private service.