Acting Boston Mayor Kim Janey shot down talks of mandating proof of vaccination in the city, comparing such papers to the Jim Crow era and former President Donald Trump’s birtherism theories. 

"We know that those types of things are difficult to enforce when it comes to vaccines," Janey, a Democrat, said Tuesday when she was asked if she’s considering mandating vaccine passports.

"There’s a long history in this country of people needing to show their papers — whether we talking about this from the standpoint of, you know, as a way to, after — during slavery, post-slavery, as recent as, you know, what the immigrant population has to go through," she continued. 

NYC TO BE FIRST IN NATION TO REQUIRE PROOF OF VACCINATION FOR INDOOR RESTAURANTS, GYMS, SHOWS

"We’ve heard Trump with the birth certificate nonsense," she added. "Here, we want to make sure that we are not doing anything that would further create a barrier for residents of Boston or disproportionately impact BIPOC communities."

Kim Janey speaks in March 24, 2021. REUTERS/Brian Snyder ( REUTERS/Brian Snyder)

The comments came as New York City Mayor Bill de Blasio announced people in his city will be required to show proof of vaccination for indoor dining, gyms, and entertainment shows.

New York is the first city in the nation to require such proof of vaccination, with de Blasio calling the passports the "Key to NYC Pass."

ALMOST 4,000 FULLY VACCINATED PEOPLE IN MASSACHUSETTS HAVE TESTED POSITIVE FOR COVID-19

"This is a miraculous place, literally filled with wonders," de Blasio said of the city. "If you’re vaccinated, that’s gonna open up to you, you can open the door. If you’re unvaccinated you will not be able to participate in many things. It’s time for people to see vaccination as necessary to living a good, full, and healthy life."

Janey was hit with pushback from mayoral opponents and liberal activists for her comments, the Boston Herald reported, with City Councilor Andrea Campbell saying the remarks were "dangerous." 

TRUMP SLAMMED FOR NOT REJECTING CONSPIRACY THEORY KAMALA HARRIS IS INELIGIBLE FOR VICE PRESIDENCY

"When we are combating a deadly virus & vaccine hesitancy, this kind of rhetoric is dangerous. Showing proof of vaccination is not slavery or birtherism. We are too close to give ground to COVID. Science is science. It’s pretty simple — Vax up and mask up," Campbell, a mayoral candidate, said. 

"Anyone in position of leadership should be using that position to build trust in vaccines," said Michelle Wu, another candidate for mayor.

Janey released a follow-up statement later on Tuesday, saying Boston has "no current plans" to implement a vaccine passport mandate similar to New York’s. 

CLICK HERE TO GET THE FOX NEWS APP

"Earlier today, I pointed out several hurdles facing communities of color with lower vaccination rates," she said. "These hurdles should not be excuses, but we must consider our shared history as we work to ensure an equitable public health and economic recovery."

The comment comes as local leaders look to increase the vaccination rate in Black and Latino communities, where getting the jab has lagged compared to White counterparts

Janey said in a statement to Fox News that vaccination is at the center of Boston's coronavirus response, and that she wants to see "every Boston resident get vaccinated."

She added that requiring vaccines in public places would have "a disproportionate impact on low income families, and in communities of color."

"We know that requiring vaccines in public venues will have a disproportionate impact on low income families, and in communities of color, so our focus in Boston is to make sure that we are getting those vaccination numbers up across every neighborhood and in every community," she said. 

"We will continue to be informed by the data and do what is best for Boston."

Janey is the first female mayor of Boston, as well as the New England city’s first Black mayor. She was sworn into the position in March after former Mayor Marty Walsh joined the Biden administration as labor secretary.