A burgeoning democracy movement has energized Egypt, culminating in a landmark presidential election that started on Wednesday. But a poll released this month shows Egyptians are grappling with dual commitments to Islam and basic democratic liberties as the country shifts from decades of autocratic rule.

The poll shows a majority wants Egypt’s laws to strictly follow the Koran, and the current election may bring bad tidings for Egypt’s one-time partners: The United States continues to be widely unpopular and hostility toward Israel is on the rise.

Egyptians united to oust President Hosni Mubarak amid last year’s Arab Spring uprisings. Many of those who opposed the former Egyptian leader also have disdain for the United States, a longtime Mubarak ally: Nearly eight in 10 Egyptians had an unfavorable view of the United States according to a 2011 poll by the Pew Global Attitudes Project conducted after the overthrow. About half said their views were “very unfavorable.”

Little has changed since then, and a new Pew poll finds scant appreciation for U.S. aid efforts.  Egypt has received an average of $2 billion a year from the United States – largely for its military – making it second only to Israel as an aid recipient. But fully six in 10 believe U.S. military and economic assistance is having a mostly negative effect on the country.

The widespread dissatisfaction with U.S. aid comes even as Egyptians seek an economic turnaround. More than seven in 10 say Egypt’s economy is in bad shape, a slightly higher percentage than a year ago. But hopes for the future are high, with half of Egyptians thinking the economy will improve over the next year. Just one in five thinks it will get worse. Saudi Arabia has pledged more than 2.7 billion in aid to Cairo.

Domestically, Egyptians will have to negotiate a balance between desire for individual liberties and a Islamic-centered government.

Fully two-thirds of Egyptians in the new Pew survey say democracy is the best form of government, and wide majorities hailed the importance of a fair judiciary, uncensored media, law and order, freedom of speech, and honest elections.

But some Egyptian views suggest support for a more hard line theocratic rule. Six in 10 say they want laws to strictly follow the Koran, and just as many say Saudi Arabia is a better model than Turkey for the role of religion in public life, far from an endorsement of secular democracy.

Protecting the rights of women and religious minorities is not a key priority for Egyptians right now. Just 41 percent said it was “very important” that women have the same rights as men, and only 38 percent said it was very important that Coptic Christians and other religious minorities can practice their religion freely.

Altogether, democracy may prove far less predictable than dictatorship in Egypt, with still unknown consequences.

Foreign policy poll watcher: Most weeks we will feature a special poll watcher analysis of American public opinion on foreign policy. The series will be cross-posted at Foreign Policy Magazine’s Election 2012 page.