CIUDAD JUAREZ, Mexico (AFP) - Throngs gathered at Mexico's border with the United States on Wednesday (Feb 17) for a huge mass with Pope Francis highlighting the plight of migrants - a hot-button issue on the United States presidential campaign trail - incurring the displeasure of at least one candidate.
The 79-year-old pontiff chose Ciudad Juarez as the last stop of a five-day trip to Mexico to address immigration and to visit a notorious prison, where he urged inmates to help break the country's cycle of violence.
The Pope's decision to make a plea for migrants at a mass on the US border coincides with the US presidential election primaries where the fate of 11 million undocumented immigrants is the source of vivid debate. One candidate wasn't pleased.
Republican White House hopeful Donald Trump, who wants Mexico to pay to build a wall along the border, called the Pope a "very political person".
"I think that he doesn't understand the problems our country has. I don't think he understands the danger of the open border that we have with Mexico," the billionaire real estate tycoon told Fox Business channel last week.
Responding to Mr Trump's comments, Vatican spokesman Federico Lombardi said that the Pope was a man of faith and "one should not be surprised that his pastoral and spiritual message has political repercussions".
In Ciudad Juarez, the Pope decried the human tragedy of migrants fleeing violence as he celebrated mass on the border, which many have died while crossing.
In a highly symbolic gesture, the Pope climbed a ramp facing the Rio Grande that separates Mexico's Ciudad Juarez and El Paso, Texas, laid flowers under a cross and blessed hundreds of migrants on the American side, who waved at him.
Pope Francis then celebrated mass with more than 300,000 Catholic faithful on the Juarez side of the border, with tens of thousands more following it on a giant screen in an El Paso stadium.
But Latin America's first pontiff did not talk directly about the politics across the border, focusing instead on the plight of migrants.
"We cannot deny the humanitarian crisis which in recent years has meant the migration of thousands of people, whether by train or highway or on foot, crossing hundreds of kilometers through mountains, deserts and inhospitable zones," Pope Francis said.
"The human tragedy that is forced migration is a global phenomenon today," he said on the last day of a five-day trip to Mexico.
A huge stage was set near the border fence for the open-air mass with more than 200,000 Catholic faithful waiting for the Pope's arrival.
A sea of pilgrims flocked there early in the morning, waving flags and wearing shirts with the words "I love the Pope".
Pope Francis was expected to salute people watching on the other side of the Rio Grande in El Paso, Texas.
Catholics streamed into a 51,000-capacity stadium in the US city, where the crowd performed a wave while waiting for the mass to be broadcast on a giant screen.
Ms Maria Ortega Cruz Bautista, 62, travelled from Chicago to be with her family at the mass in Ciudad Juarez, a city she left 14 years ago.
She voiced hope that the Pope's message will prompt the authorities "to have more compassion and more consideration for migrants".
In El Paso, Ms Sandra Ovalle, 32, shared similar feelings as she headed with her family to the Sun Bowl stadium.
"We hope that the Pope will make our leaders change, so that we get support and that things change for the better," said Ms Ovalle, a native of Mexico's northern Chihuahua state who now lives in the US state of New Mexico.
Central Americans have been leaving their poor and gang-infested countries in droves, crossing Mexico's porous southern border with Guatemala on their way to the United States.
The trek across Mexico is filled with dangers - from gangs that steal, kill or seek to forcibly recruit them, to corrupt officials who demand bribes to let them travel.
While pilgrims waited for the mass to start, Pope Francis visited a prison, nearly a week after a riot killed 49 inmates at another Mexican penitentiary.
He visited its chapel and addressed hundreds of inmates in the prison yard, telling them they should use their experiences to help "put an end to this cycle of violence and exclusion".
"The one who has suffered the greatest pain, and we could say 'has experienced hell', can become a prophet in society. Work so that this society which uses people and discards them will not go on claiming victims," he said.
The Pope argued that a country's security problem "is not resolved only by incarcerating", arguing that the structural and cultural causes of crime must be addressed.
The Juarez prison was the scene of deadly riots a few years ago, with dozens of prisoners killed in recent years, but it has been held up as an example of efforts to improve Mexico's notoriously overcrowded prisons.
Ciudad Juarez stands as a grim symbol of Mexico's violence, but also of hope.
It became the country's most dangerous city a few years ago as the Sinaloa and Juarez drug cartels fought for control of drug routes.
Their turf war left as many as 3,000 dead in 2010, but the murderous rampage gradually eased afterward, with the toll falling to 300 last year.
The mass will also be attended by families of victims of Mexico's drug violence, which has left more than 100,000 people dead or missing in 10 years.
The parents of 43 missing students whose case has caused international outrage were offered three seats at the mass, but lacked the means to go.