The Latest on Pope Francis' visit to Mexico (all times local):

7:20 a.m.

Pope Francis is wrapping up his trip to Mexico on Wednesday with some of his most anticipated events. Those include a visit to a Ciudad Juarez prison just days after a riot in another lockup killed 49 inmates. He'll also stop at the Texas border at a moment when immigration is a hot issue for the U.S. presidential campaign.

The pope has left his lodgings at the papal nuncio's residence in Mexico City for the last time on this visit after a farewell serenade by mariachis. He's beaming and waving to thick crowds along the streets as he heads to the airport in his popemobile to catch a flight to the northern border metropolis of Juarez. After the stop there, he'll fly home to Rome.

Francis' final events cap a whirlwind five-day visit that focused heavily on the injustices faced by Mexico's poorest, most oppressed and vulnerable to the country's drug-fueled violence.