A Florida mayor responded to Donald Trump's proposed ban on Muslims entering the country by issuing a tongue-in-cheek ban of his own — on the Republican presidential front-runner himself.

"I am hereby barring Donald Trump from entering St. Petersburg until we fully understand the dangerous threat posed by all Trumps," St. Petersburg Mayor Rick Kriseman tweeted Monday.

The facetious tweet was followed Tuesday by an apparently serious pronouncement from Philadelphia Mayor Michael Nutter (D), who said he'd like to ban Trump from the city.

Nutter calls Trump's proposal "ignorant" and says if he had the power, he'd ban Trump from the city. He says Philadelphia doesn't have "any room for that kind of stupidity."

"He is acting as a dangerous person," Nutter said Tuesday, according to Philadelphia magazine. "He and his message of hate have no place in Philadelphia... Donald Trump has made himself a danger to society, all for the sake of electoral points. He has crossed a moral line."

Nutter also called Trump a "madman" and an "a------," according to the magazine.

Kriseman, also a Democrat, told the Tampa Bay Times that he was kidding around with the tweet, which spread quickly on social media. By Tuesday morning, it had been retweeted more than 7,000 times, and liked more than 9,000 times.

"You make a ridiculous statement, so you answer with a ridiculous statement," Kriseman told the newspaper. "There are some people who thought I was seriously going to ban Donald Trump from St. Petersburg, and that's obviously not something I would try to do. But his statement was kind of ridiculous, so I thought that it deserved an equal response."

Kriseman said he didn't expect his tweet to take off like it had, but that he welcomed the spotlight on St. Petersburg.
"I very quickly had to take my phone out of my pocket because it wouldn't stop vibrating," he said.

During an appearance on "MSNBC Live with Jose Diaz-Balart," Kriseman said he's received a "mostly positive" reaction to the tweet, though some Trump supporters did take his post literally.

"So I think what we're seeing here is a culmination of years of hatred toward our president that are coming together and manifesting themselves through a candidate who is willing to say anything to get elected," Kriseman said, when asked about support for Trump. "And he is tapping into that hatred. And that's sad. It's — aside from the fact that his comments are un-American, it's not who we are as a country. It certainly isn't who my city is. Now, we're a city of opportunity where the sun shines on all. America was founded on opportunity for all. And so I find these comments totally un-American."

Trump on Monday called for a "total and complete shutdown of Muslims entering the United States until our country’s representatives can figure out what is going on." The proposal was denounced by other candidates, and legal experts have called it "ridiculous" and "impossible."

This post has been updated.

Read More: