Democratic presidential candidate Bernie Sanders (R) and Bolivia's President Evo Morales attend a conference on social and environmental issues in the Vatican on April 15, 2016. (Photo ANDREAS SOLARO/AFP/Getty Images)

VATICAN (CBSNewYork/AP) — Democratic presidential candidate Bernie Sanders issued a global call to action at the Vatican Friday to address “immoral and unsustainable” wealth inequality and poverty and warn of the consequences to future generations if solutions are not found.

He cited Pope Francis and St. John Paul II repeatedly during his speech to the Vatican conference commemorating the 25th anniversary of a landmark teaching document from John Paul on social and economic justice after the Cold War.

MORE ON CAMPAIGN 2016

Sanders arrived in Rome hours after Thursday night’s New York debate, saying the opportunity to address the Vatican conference was too meaningful to pass up.

“I am just so excited to be here, so proud to be here with other like-minded people who are trying to do our best to create a moral economy,” he told reporters outside the Vatican.

The roughly 24-hour visit precedes Tuesday’s crucial New York primary, which Sanders must do well in to maintain any viable challenge against Clinton.

The Vermont senator told the audience of priests, bishops, academics and two South American presidents that rather than a world economy that looks out for the common good, “we have been left with an economy operated for the top 1 percent, who get richer and richer as the working class, the young and the poor fall further and further behind.”

Senator @BernieSanders on The Urgency of a Moral Economy: Reflections on the 25th Anniversary of #CentesimusAnnus pic.twitter.com/rMYQiowaEb — Casina Pio IV (@CasinaPioIV) April 15, 2016

Sanders warned that youth around the world are no longer satisfied with the status quo, which includes “corrupt and broken politics and an economy of stark inequality and injustice.”

“They are not satisfied with the destruction of our environment by a fossil fuel industry whose greed has put short term profits ahead of climate change and the future of our planet,” he said. “They are calling out for a return to fairness; for an economy that defends the common good by ensuring that every person, rich or poor, has access to quality health care, nutrition and education.”

He sat next to the other main guest of honor at the Vatican: Bolivian President Evo Morales, whose is renowned for his anti-imperialist, socialist rhetoric.

As he walked through Vatican City’s Perugino gate, Sanders was greeted about two dozen supporters, some of whom carried signs bearing Sanders’ name.

The senator told reporters that he was honored to address the conference and admired Francis’ message on the economy and the environment.

“I know that it’s taking me away from the campaign trail for a day but when I received this information it was so moving to me that it was something that I could just simply not refuse to attend,” he said.

He said he was “enormously impressed” by the pope’s “visionary views about creating a moral economy, an economy that works for all people, not just the people on top.”

Pope Francis apologized that he couldn’t personally greet participants at the Vatican conference. No meeting with Sanders was expected.

Sanders was accompanied on the trip by his wife, Jane Sanders, and 10 family members, including four grandchildren.

His talk was titled “The Urgency of a Moral Economy: Reflections on the 25th Anniversary of Centesimus Annus.” The conference was organized by a Vatican advisory group comparable to a think-tank that Francis appointed to guide him on a wide range of public policy issues.

Back home, Clinton holds a significant delegate lead against Sanders, but the senator has vowed to stay in the campaign until the party’s July convention. His message calling for a political revolution to address wealth inequality and the influence of Wall Street on U.S. politics has galvanized many Democrats and independents.

A Sanders rally Wednesday night in New York City drew 27,000 people.

Despite being enmeshed in an increasingly bitter campaign against Clinton, Sanders aides said the trip was not aimed at appealing to Catholic voters who comprise a large share of the Democratic electorate in New York and an upcoming contest in Pennsylvania.

“This is not going to be a political speech,” Sanders senior adviser Tad Devine said. “We’re not looking at this through a political lens.”

The Vatican has been loath to get involved in electoral campaigns and usually tries to avoid any perception of partisanship involving the pope. Popes rarely travel to countries during the thick of political campaigns, knowing a papal photo opportunity with a sitting head of state could be exploited for political ends.

As a result, the invitation to Sanders to address the Vatican conference raised eyebrows and allegations that the senator lobbied for the invitation.

The chancellor for the pontifical academy, Bishop Marcelo Sanchez Sorondo, has said he invited Sanders because he was the only U.S. presidential candidate who showed deep interest in the teachings of Francis.

Other attendees included Morales of Bolivia and President Rafael Correa of Ecuador, along with Cardinal Oscar Rodriguez Maradiaga of Honduras, a member of the academy, and Columbia University professor Jeffrey Sachs, an adviser to the United Nations on environmental and sustainability issues. Sachs has advised Sanders on foreign policy issues.

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)