Pope Francis drew an estimated three million Catholic faithful to Rio's Copacabana Beach for the final evening of World Youth Day, hours after he chastised the Brazilian church for failing to stem the "exodus" of Catholics to evangelical congregations.
Francis headed into the final hours of his first international trip riding a remarkable wave of popularity: by the time his open-sided car reached the stage for the vigil service on Saturday night, the back seat was piled high with football shirts, flags and flowers tossed to him by adoring pilgrims lining the beachfront route.
On the beach, pilgrims staked out their spots on the sand, lounged and snacked, preparing for an all-night party ahead of the final Mass on Sunday. Many of those actually paying attention to the vigil had tears in their eyes, moved by Francis's call for them to build up their church like his namesake, St Francis of Assisi, was called to do.
The vigil capped a busy day for the pope in which he drove home a message he has emphasised throughout the week in speeches, homilies and off-the-cuff remarks: the need for Catholics, lay and religious, to shake up the status quo, get out of their stuffy sacristies and reach the faithful on the margins of society or risk losing them to rival churches.
In the longest and most important speech of his four-month pontificate, Pope Francis said:
According to census data, the number of Catholics in Brazil dipped from 125 million in 2000 to 123 million in 2010, with the church's share of the total population dropping from 74% to 65%. During the same time period, the number of evangelical Protestants and Pentecostals skyrocketed from 26 million to 42 million, increasing from 15% to 22% of the population in 2010.
Pope Francis offered explanations to this "exodus":
Despite the Pope's critical assessment of the state of the church in Brazil, reception to his visit in Rio has shown that he can draw quite a substantial crowd.
The city's mayor had estimated earlier that as many as three million people might turn out for Sunday's culminating mass.