Civilization is pockmarked with examples of governments kicking religious people out of their countries, from Spain expelling Jews and Muslims during the reign of Ferdinand and Isabella, to England forcibly removing the French-Catholic Acadians from Canada, to Donald Trump’s recent declaration that all Muslims—and Muslim-Americans abroad—should be prevented from entering or re-entering the country for fear of radicalized Islamic terrorism. Despite widespread condemnation in the media and in Washington, Trump has refused to back down from his statement. Maybe the fact that he received a standing ovation for it at a rally on Monday night explains his refusal to reconsider his bigotry.

Let’s place Trump’s classy, gold-leafed ethnic-cleansing program in some historical context. Here are four other times countries tried similarly disturbing plans:

Adolf Hitler’s Germany

Trump’s declaration has been compared most closely with those of German dictator Adolf Hitler, who, beginning in 1939, systematically expelled—and then exterminated—non-ethnic Germans from conquered territories and resettled them for the sake of Lebensraum, his key policy that called for the expansion of “racially valuable” Germanic peoples across Europe. Not included among those racially valuable people: Poles, Ukrainians, Belarusians, and Jews, historically one of the most ostracized and expulsion-able religious group in the world.

HOW IT ENDED: Not well.

Japanese Isolationism (sakoku)

If Trump wants his ethnic-expulsion policy to be the most aggressive—Trust me, no one will ever do it as well as I do; it’ll be phenomenal, yuuge—he’s going to have to compete with a regime that did it first, and did it for two centuries: Edo-era Japan.

Despite previous decades of trade between Japan and the outside world during the 17th century—particularly with Europe—the ruling shogun, Tokugawa Iemitsu, abruptly expelled all foreigners from the country in 1635, and threatened any foreigners who tried to illegally enter the country, or anyone who practiced Christianity, with the death penalty. This ban lasted over 200 years and was built to prevent the country from being influenced by the creeping influence of Christianity, brought into the country by radicalized Catholic missionaries.

Essentially, Christianity was to 17th-century Japan’s rulers what ISIS is to America’s today: people were encouraged to narc on neighbors they suspected of worshipping Jesus and—in a completely messed-up ceremony called fumi-e—the government would ask people on the Religious Terror Watch List to step on a picture of Jesus as proof they weren’t Christians. Those who refused to renounce Christianity were tortured, and if that didn’t work, they were killed.

HOW IT ENDED: One day in 1853, American commodore Matthew Perry showed up off the coast of Japan and fired several cannons at the land, forcibly opening Japan to international trade to the outside world. Decades later, realizing that they were way behind the times, the Meiji Restoration began to rapidly modernize Japan.

Chinese Exclusion Act

The tension between Asia and the U.S. went the other way, as well: after an explosion of migration from China to America during the gold rush, Americans got freaked out by Chinese immigrants who, according to popular stereotypes of the time, undercut American laborers with low wages and came from a country supplying addictive drugs. (Basically, they faced the same stigmas as today’s migrant Latino workers.)

Thanks to rampant xenophobia, Congress passed the Chinese Exclusion Act in 1882, which halted Chinese immigration into the United States, and in 1924, the Immigration Act banned all East Asian immigration after Japanese immigrants started gaining a foothold in American society.

HOW IT ENDED: When China and America joined forces during World War II, America suddenly realized it was awkward to enforce a discriminatory immigration policy against their allies, and repealed the act in 1943. It took two more decades before quota-less Asian immigration was allowed with the passage of the Immigration Act of 1965, and five additional decades before Americans started freaking out about the Asian success rate in higher education.