For the last 114 years, Emma Lazarus’s famous sonnet has been engraved at the base of the Statue of Liberty, an expression of how America imagines itself, as a beacon of hope to the “wretched refuse” of the worldwhich, though perhaps patriarchal to modern eyes, is at least imbued with empathy for the downcast. Written by a Jewish socialist who died of cancer a year after the statue’s 1886 dedication, its words, particularly those last five lines, have become something of an American credo.

But the United States’ relationship with immigrants has never been that simpleor that benevolent. Setting aside the indescribable evil of the African slave trade or even the widespread (and often forced) practice of indentured servitude that predated the formation of the union, the U.S. at its formation encouraged immigration, at least of certain people. “The bosom of America is open to receive not only the opulent and respectable stranger,” President Washington said, “but the oppressed and persecuted of all nations and religions, whom we shall welcome to a participation of all our rights and privileges.”

In 1790, he signed the country’s first immigration-related statute, which restricted citizenship to “any alien, being a free white person,” who had been in the United States for two years. While the Naturalization Act of 1790 said nothing about nonwhite birthright citizenship, later legislation took care of that.

The nineteenth century saw several waves of immigration: more than four million Irish immigrants, many fleeing famine and abject poverty in the mid-century, who settled into East Coast cities near their points of arrival; Germans, many of whom clustered in the Midwest, in places such as Milwaukee and St. Louis, who came seeking religious liberty and land on which to farm; Asians, especially the twenty-five thousand Chinese immigrants, many escaping political and economic turmoil in China, who were lured to California by the gold rush of the early 1850s.

As has been a common refrain throughout our history, a backlash arose among the powerful WASPs who resented the newcomers who were competing for jobs. The Irish, being Catholic, and the Chinese, being Asian, were especially vilified and targeted for discrimination. The Naturalization Act of 1870, for instance, extended citizenship rights to African Americans but excluded the Chinese, under the theory that the Chinese could not properly assimilate into American society. Twelve years later, the Chinese Exclusion Act barred Chinese laborers from coming to America.

By the late nineteenth and early twentieth centuries, most American immigrants were coming from Central, Eastern, and Southern Europe: more than four million Italians between 1890 and 1920; more than two million Jews from Eastern Europe between 1880 and 1920. They, too, were met with hostility, particularly the Jews. In 1917, the government established a literacy test for adult immigrants. In 1924, Congress prohibited immigration from Asia and established quotas that favored immigration from Western Europe.

Those quotas would stand for the next forty years. America began to broaden its immigration policies after World War II, allowing refugees from Europe and the Soviet Union and later Cuba. In 1965, President Lyndon Johnson signed the Immigration and Nationality Act, which replaced the quotas with a system that allows Americans to sponsor relatives from their countries of origin. That resulted in shifting immigration patternsfewer immigrants from Europe, more from Asia and Latin America.

By the eighties, undocumented immigration from Mexico emerged as a source of political debateas it obviously still is today. In 1986, President Reagan signed a relatively progressive immigration reform law that granted amnesty to three million undocumented immigrants while tightening enforcement. Four years later, President Bush signed a law expanding the number of legal immigrants admitted to the country and boosting immigration from “underrepresented” countries. A recession gave rise to anti-immigrant sentiment, and in 1996, Congress passedand President Clinton signeda law bolstering border enforcement and restricting immigrants’ access to social programs.

[page]

The events of 9/11and, later, the catastrophic refugee crisis spawned by the Iraq war, the Syrian civil war, and the rise of ISISturned immigration into a national security issue. Even so, President George W. Bush pushed for comprehensive reform that offered undocumented immigrants a pathway to citizenship. It was scuttled by xenophobic hard-liners in his own party. President Obama tried to forge a similar deal, ramping up deportations, especially of undocumented immigrants with criminal records, as a sort of olive branch to conservatives while trying, unsuccessfully, to secure sweeping reform. Ultimately, while he protected undocumented immigrants who came to the U.S. as minors from deportation, he also deported some 2.5 million immigrants, the most of any president.

As simplified a history as this is, two things can be learned from it: one, whatever Pollyannaish thing Emma Lazarus imagined Lady Liberty to stand for, we’ve not always lived up to it; two, Donald Trump’s anti-immigrant message draws on a deep current of resentment and fear of the other that pervades the story of America.

Trump doesn’t exist in a vacuum. Even though net migration from Mexico has been negative since 2008owing to improvements in the Mexican economy and a desire for familial reunificationa sizeable portion of our population, about 35 percent, is still willing to spend tens of billions of dollars on a massive border wall to keep out Mexican “rapists” and “criminals,” when in fact most undocumented immigrants come here legally and simply overstay their visas. Similarly, there are millions of Americans who support Trump’s executive orders in January and again in Marchboth blocked by federal courtshalting refugee access and temporarily banning visits from some majority-Muslim countries, as well as his promises to ramp up the border patrol and deportations.

After all, that’s what he campaigned on, and he won.

Trump tapped into something primal, an animus rooted in anxiety over economic stagnation, yes, but also the fact that, a generation hence, America will no longer be majority white. Our culture is changing. And just as at every other point in our history when our culture has undergone rapid, dynamic transformation, not everyone is comfortable with that.

The question for us is whether Trumpism, and the revanchism it embodies, will be more than a historical speed bump, more than a throwaway sentence in your great-grandchild’s textbook, whether we can evolve to become the country the Lazarus envisioned 134 years ago: the Mother of Exiles, the lamp beside the golden door.

This article appeared in print with the headline “The Lamp Beside the Golden Door”