Around one million people attended the final Mass in Peru, a country Leo has described as his adopted homeland.

His tour took in Uruguay and Argentina, but his visit to Peru was particularly significant. He spent almost 20 years in the country, including a decade in the northern city of Chiclayo, where he served as a pastor known as Padre Roberto.

Although born in Chicago, Leo spent four decades travelling to and living in Peru after arriving in 1985, aged 29, as an Augustinian missionary.

He is the first American pope and the first to hold Peruvian citizenship.

On Monday, tens of thousands of Peruvians came to greet him, many carrying banners in his honour and he dedicated six of his 12 days in the region to Peru.

The Pope showed exceptional stamina on the trip, having undergone lung cancer surgery on Oct 13.

In Argentina, Leo served Javier Milei, Argentina’s right-wing president, a stinging rebuke as he criticised his austerity measures and cuts to social programmes.

“The economy must be at the service of the people, rather than people being at the service of the economy,” he said during his second stop.

He also visited a home for people with disabilities and said they were “not a burden on society” but “a blessing”.

Mr Milei, who has insulted Leo’s predecessor, Pope Francis, was visibly moved by the pontiff as he said goodbye to him on the runway, with footage showing him in tears.