JAKARTA, Indonesia >> Pope Francis wrapped up his visit to Indonesia on Friday after celebrating Mass before an overflow crowd of 100,000, a final celebration before heading to Papua New Guinea for the second leg of his 11-day journey through Southeast Asia and Oceania.

The 87-year-old pope had no official events Friday beyond a farewell ceremony and the six-hour flight to Port Moresby, giving him something of a break after a packed three-day program in Jakarta.

The visit culminated with a jubilant Mass on Thursday afternoon before a crowd that filled two sports stadiums and overflowed into a parking lot.

“Don’t tire of dreaming and of building a civilization of peace,” Francis urged them in an ad-libbed homily. “Be builders of hope. Be builders of peace.”

The Vatican had originally expected the Mass would draw some 60,000 people, and Indonesian authorities had predicted 80,000. But the Vatican spokesman quoted local organizers as saying more than 100,000 had attended.

While in Indonesia, Francis sought to encourage the country’s 8.9 million Catholics, who make up just 3% of the population of 275 million, while also seeking to boost interfaith ties with the country boasting the world’s largest Muslim population.

In the highlight of the visit, Francis and the grand imam of Jakarta’s Istiqlal Mosque, Southeast Asia’s largest, signed a joint declaration pledging to work to end religiously inspired violence and protect the environment.

In Papua New Guinea, Francis’ agenda is aligned with more of his social justice priorities. The poor, strategically important South Pacific nation is home to more than 10 million people, most of whom are subsistence farmers.

Francis will be traveling to remote Vanimo to check in on some Catholic missionaries from his native Argentina who are trying to spread the Catholic faith to a largely tribal people who also practice pagan and Indigenous traditions.