In the 19th century, when Muslims were looking at Europe as an example, they were independent; they were more self-confident. In the early 20th century, with the fall of the Ottoman Empire, the whole Middle East was colonized. And when you have colonization what do you have? You have anti-colonization. So Europe is not just an example now to emulate; it’s an enemy to fight and to resist. So there’s a very sharp decline in liberal ideas in the Muslim world, and what you see is more of a defensive, rigid, reactionary strain, which led to Arab socialism, Arab nationalism and ultimately to the Islamist ideology. And when the colonial period ended, what you had in place of that was, generally, secular dictators, which say they’re a country, but did not bring democracy to the country, and established their own dictatorship.And I think the West, at least some powers in the West, particularly the United States, made the mistake of supporting those secular dictators, thinking that they were more helpful for their interests. But the fact that those dictators suppressed democracy in their country and suppressed Islamic groups in their country actually made the Islamists much more strident.
http://www.ted.com/talks/mustafa_akyol_faith_versus_tradition_in_islam/transcript?language=en#t-247473