More than 60 percent of Americans have a favorable view of Muslims, according to a new poll sponsored by the University of Maryland. Only around 44 percent, however, have a favorable view of the Muslim religion. Additionally, around one third of respondents in the recent poll said that militant Islamist ideology was the most important motivating factor for Omar Mateen, the gunman who declared allegiance to ISIS and killed more than four dozen people in Orlando, Florida in June. The survey was completed between June 24 and 30, with a representative sample of 1,312 people. The following are key findings from the poll.

Take Away: Remarkably, despite heated campaign rhetoric on Islam and Muslims, and the Orlando shooting, attitudes toward Islam and Muslims have become progressively more favorable from November 2015 to June 2016, and more Americans have come to say that Islamic and Western traditions are compatible over the same period.

From November 2015 to June 2016, Americans views on Muslims have gone from 53% favorable to 62% favorable, while Americans with favorable views of Islam have increased from 37% to 44% in June over the same period. During that same time frame, the percentage of people who think that Islamic and Western religious and social traditions are compatible increased from 57% % to 64%.

Republican attitudes have remained relatively constant in the three polls (November 2015, May 2016, and post-Orlando June 2016) toward both the Muslim people and the Muslim religion. And a majority of Republicans continued to express the view that Islam and the West are incompatible, with little change across the three polls. But the views of both Democrats and Independents became more favorable toward both Islam and Muslims (Democrats jumped 12% and Independents jumped 17% from November 2015 to June 2016 in their favorable views of Muslims), while fewer Democrats and Independents have come to view Islamic and Western values as being incompatible, for example, Democrats dropped from 26% to 17% in viewing these two as incompatible.

Take Away: Only one third of respondents said militant Islamist ideology was the most important factor motivating the Orlando shooter. Ending sale of guns to terrorists/criminals ranks first among steps that would reduce the chance of a similar attack; monitoring Mosques/Muslim American groups ranks last.

When asked to rate a number of possible factor’s behind the Orlando shooter’s motives (on a scale of 0-10), hate for the LBGT community ranked first with an average of 7.52, followed by militant Islamist ideology with an average of 7.27, and mental illness with an average of 6.93. When asked to assess the most important factor, 33% said militant Islamist ideology, 21% mental illness, 19% self-hate, and 16% hate for LBGT community. Only 2% said feeling rejected as a Muslim in America was the most important factor.

Fifty-seven percent assessed that the shooter acted independently, but was inspired by ISIS ideology, while 34% said he acted for reasons unrelated to ISIS, but claimed link for boasting. Only 8% said they said he was directed by ISIS.

Sixty-six percent assessed that the shooter was an American born in the United States, while 19% said he was a foreigner who had been living in the U.S. for some years, and 10% said he was an American who immigrated to the U.S.

Fifty-two percent approved of President Obama’s reaction to the shooting, compared to 50% for Hillary Clinton and 42% for Donald Trump.

When asked to rate the five measures (scale of 0-10) that may reduce the chance of an Orlando-like shooting, Americans rank banning weapons to people with terrorist and criminal records first with an average of 7.84, followed by better security at public venues with an average of 7.32, fighting ISIS abroad with an average of 7.24, and banning the sale of assault rifles with an average of 5.75. Closely monitoring mosques and Muslin American groups rates last with an average of 5.46.

Similarly, when directly asked what the most likely action would be to reduce the chance of an Orlando-like shooting, banning the sale of weapons to terrorists/criminals is ranked first with 25% of the responses, while closely monitoring mosques and Muslim American groups ranked last with 10% of responses.

Click here for the full results

Click here for more key findings