Ten years after the 9/11 terrorist attacks, Muslim Americans are more optimistic than other major faith groups about their future, even as they report greater discrimination from fellow Americans and less confidence in the FBI and the U.S. military, a new poll has found.

In the report by Gallup, which measures American Muslims’ political, social and spiritual engagement, Muslims reported an 18 percent increase in standard of living since 2008, a greater increase than any other faith group.

This is the same period that Muslim leaders say has been the most oppressive for Muslims in this country, with rhetoric against their faith group appearing to rise.

Gallup analysts credited Muslims’ optimism in part to the election of President Obama, who has not appeared at an American mosque since taking office but has often spoken out about the need for Muslim equality and civil rights. Only 9 percent of American Muslims identify as Republicans, Gallup said.