Pope Francis offered his condolences on Friday morning after 14 people were killed and 25 injured in a mass shooting at a university in Prague.

A statement released by the Vatican on Dec. 22 said the pope was “deeply saddened to learn of the loss of life and injuries caused by the shooting at Charles University.”

“Pope Francis expresses his spiritual closeness to all affected by this tragedy. Entrusting those who have died to the loving mercy of Almighty God, His Holiness invokes divine strength and consolation upon their grieving families and friends, and he assures the nation of his prayers at this difficult time,” said the message sent on the pope’s behalf by Cardinal Pietro Parolin, the Vatican’s secretary of state.

The shooting on Thursday was the first-ever school shooting in the Czech Republic and the worst mass shooting in the country’s history, according to the Associated Press.

A 24-year-old Czech university student opened fire in the university’s philosophy department building after first killing his father in his hometown outside of Prague. The gunman killed himself after the shooting rampage.

Among the injured were two people from the United Arab Emirates and one Dutch citizen.

Archbishop Jan Graubner of Prague expressed deep sadness in response to the shooting and said that priests in Prague are available to provide spiritual support via a hotline set up in response to the tragedy.

“I pray for the dead, their families, loved ones, and friends, and also for the healing of all the injured,” the archbishop said on Dec. 21.

“I am asking the Lord to bring comfort to everyone in this pre-Christmas season and to help overcome the pain and sadness.”

The Catholic Archdiocese of Prague will host a memorial Mass for the victims of the shooting on Dec. 23 at 11 a.m. in Prague’s Cathedral of Sts. Vitus, Wenceslaus, and Adalbert, which will be open to all who wish to honor and pray for the victims.

Cardinal Dominik Duka, the archbishop emeritus of Prague, and Archbishop Jude Thaddeus Okolo, the apostolic nuncio to the Czech Republic, will concelebrate the Mass with Graubner, which will be broadcast live on Czech television.