Several lawmakers joined Cardinal Timothy M. Dolan on Sunday in condemning the scalping of tickets to a procession by Pope Francis during his stop in New York City on a national tour, calling it contrary to the spirit of the pontiff’s visit.

On Thursday, 80,000 tickets to watch the pope’s procession through Central Park on Sept. 25 were distributed to New York residents through a city-sponsored lottery. Soon after the winners were notified, some of those free tickets began appearing for sale on websites like eBay and Craigslist for hundreds or thousands of dollars.

“Tickets for events with Pope Francis are distributed free for a reason — to enable as many New Yorkers as possible, including those of modest means, to be able to participate in the Holy Father’s visit to New York,” Cardinal Dolan, the archbishop of New York, said in a statement. “To attempt to resell the tickets and profit from his time in New York goes against everything Pope Francis stands for.”

The mayor’s office said on Friday that it was working with the United States Secret Service to crack down on the online sale of the tickets. Monica Klein, a spokeswoman for the mayor’s office, added, “Craigslist and eBay have been responsive and continue to remove posts quickly.”