Many people stayed overnight to secure a spot at the Holy Father's final Mass of his trip.

The beach was packed for the service. Check it out:

View gallery

.

REUTERS/Paulo Whitaker

Pilgrims lie in sleeping bags at sunrise on Copacabana Beach ahead of Pope Francis' Sunday mass in Rio de Janeiro, July 28, 2013.

View gallery

.

REUTERS/Paulo Whitaker

Catholic faithful await the start of the final mass by Pope Francis as he arrives on Copacabana Beach in Rio de Janeiro, July 28, 2013.

View gallery

.

REUTERS/Sergio Moraes

Catholic faithful gather for Pope Francis' final mass on Copacabana Beach in Rio de Janeiro, July 28, 2013.

View gallery

.

REUTERS/Ueslei Marcelino

Pope Francis celebrates his final mass on Copacabana Beach in Rio de Janeiro, July 28, 2013. Pope Francis, in a stunningly candid assessment of the state of the Catholic Church, said on Saturday it should look in the mirror and ask why so many people are leaving the faith of their fathers.

View gallery

.

REUTERS/Sergio Moraes

Pope Francis delivers his final mass on Copacabana Beach in Rio de Janeiro, July 28, 2013.

View gallery

.

REUTERS/Sergio Moraes

Pope Francis blesses a family of four as he celebrates his final mass on Copacabana Beach in Rio de Janeiro, July 28, 2013.

Here's how most people watched the service:

View gallery

.

REUTERS/Paulo Whitaker

Pope Francis celebrates mass as hundreds of thousands of faithful watch him on screens on Copacabana Beach in Rio de Janeiro, July 28, 2013.