Fifteen years after the attacks of Sept. 11, Americans have grown aware not only of the danger of terrorism but also of the reality that their nation is far less white, Christian and European than it used to be.
"Culturally, we're a country of Bollywood and bhangra and tai chi and yoga and salsa and burritos and halal and kosher," says Diana Eck, professor of comparative religion at Harvard University and author of "A New Religious America."
Through her direction of the Pluralism Project at Harvard, Eck and her researchers have documented the growth of an "interfaith infrastructure" in the country.
"After 9/11," she says, "it became important to know more clearly who is in our community. The level of ignorance was cracked. It is far from solved, but I think 9/11 did bring a moment of awakening that the 'we' of the United States is changing."
A recognition of America's increased diversity is especially critical for the Muslim American community. The Sept. 11 attacks were carried out in the name of Islam, and a majority of Muslims in the United States have said it became harder after those attacks to be a Muslim in this country.
In response, many are taking the responsibility themselves for improving relations with their neighbors. One important consequence of Sept. 11 was that Muslims, most of whom are immigrants, concluded they needed to become more socially and politically engaged.
"Before Sept. 11, Muslims — the majority of them — were living here physically, [but] mentally and spiritually they were living back home," says Zahid Bukhari, executive director of the Council for Social Justice at the Islamic Circle of North America.
Interfaith efforts in those days were scorned as un-Islamic, he says. Bukhari, who moved from Pakistan to the U.S. in the 1980s and now lives in Frederick, Md., urges his fellow immigrant Muslims, including the most devout, to turn their attention away from their native lands and focus on their adopted homeland.
"God will not ask them, at the Day of Judgment, what they have done in Karachi or Lahore or Istanbul," Bukhari says. "God will ask me what I have done in Frederick, with my family, with my neighbors. Did I become a symbol of goodness or a symbol of badness?"
Part of this new engagement effort among immigrant Muslims has been to promote more civic participation.
"There were a lot of controversies whether we should take part in the political process," Bukhari says. "Was it halal [Islamically permissible] or haram [prohibited]? Now that debate is over."
The struggle to improve the image of Muslim Americans has not been easy. A 2014 survey by the Pew Research Center found that of eight major religious groups in the country, people ranked Muslims at the very bottom.
But Besheer Mohamed, one of the researchers on the report, says one conclusion was that the more interaction there is between Muslims, Christians and others, the better their relations.
"Muslims were rated the lowest, but people who say that they knew a Muslim personally rated Muslims significantly higher than people who said they didn't know Muslims," Mohamed says.
As a religion, however, Islam remains controversial in the United States. A separate Pew study found that the number of people who say Islam is more likely than other religions to encourage violence has grown in the past 15 years, and partisan differences over the issue have intensified, with Republican and Democratic views diverging widely.
A major rupture between Muslim Americans and the Republican Party appears to be another post-Sept. 11 development.
In the 2000 election, a survey by the Muslims in the American Public Square (MAPS) project at Georgetown University and Zogby Analytics found that immigrant Muslims, especially those from Arab countries, preferred George W. Bush, the Republican candidate, over Democrat Al Gore. They appreciated Bush's criticism of the racial profiling of Arab-Americans, and many aligned with conservative positions on social issues and the Republican emphasis on personal responsibility over government welfare.
After Sept. 11, however, immigrant Muslims overwhelmingly abandoned the Republican Party, with just 7 percent backing Bush's re-election in 2004. (African-American Muslims voted against Bush in large numbers in both elections.)
That trend is likely to continue this year, with Republican candidate Donald Trump on the record as saying "I think Islam hates us."
A survey earlier this year during the Republican and Democratic party primaries found that Trump had the lowest support of any candidate, favored by just 4 percent of Muslim voters.
While Muslims face the most suspicion in the United States, other religious minorities also encounter hostility. The Pew survey that placed Muslims at the bottom in public esteem found Buddhists and Hindus, two other immigrant faith groups, ranked lower than Christians and Jews.
"These are growing pains," says Harvard's Diana Eck. "There's no question that this moment in America is an especially painful one. [But] I have no doubt that the course of the United States as a multi-religious nation that is gradually coming to terms with its own diversity is one that will win out."
What is needed, Eck says, is for Americans to unite around the "common principles" that bind the nation.
"They are constitutional principles," Eck says. "They are principles that have to do with a sort of ethos, a cultural ethos of neighborliness."
"Diversity is a given," she says. "These [immigrant] movements are not things that are somehow going to be stopped and everyone sent home. This is part of the natural evolution of who we are as America."