Despite a strong alliance since the 1940s, 47 percent of Americans see Saudi Arabia as unfriendly or an enemy, according to a new survey by The Huffington Post and YouGov [PDF].

Although Americans views toward Saudi Arabia may be less than stellar, those surveyed are definitely much more fearful of the kingdom's arch rival, Iran. 

Nearly three-quarters (74 percent) of respondents view Iran as unfriendly or an enemy. In fact, negative views towards Iran were higher than any other country (Russia, Turkey, China and Mexico were also included) in the survey.

When it comes to Saudi Arabia, 31 percent responded saying they view the kingdom as "unfriendly" and 16 percent consider the kingdom an "enemy". Just over a quarter of respondents were "unsure" and only 7 percent regard the kingdom as an "ally", 19 percent see Saudi Arabia as friendly.

Younger Americans (under 44) are slightly more likely to see Saudi Arabia as unfriendly and more than 50 percent of those over 65 view the kingdom as "unfriendly" or an "enemy". 

Americans that identify with the Republican party – the political party of President-elect Donald Trump – are the most likely to have negative feelings toward the kingdom. This is particularly interesting because a former Saudi diplomat told The Washington Post in November that Saudis "are closer to Republicans psychologically." Apparently that feeling isn't mutual.

King Salman with U.S. President Barack Obama in Riyadh Source: WikiMedia

Coming back to Iran, 44 percent of respondents said that the country is an "enemy" and 30 percent consider it to be "unfriendly". Only 6 percent see Iran as "friendly".

Russia, which has been accused of hacking the recent U.S. election and has been a longtime American rival, didn't draw as much negativity as Iran, although it faired notably worse than Saudi Arabia. 

In total, just over 60 percent of the Americans surveyed view Russia negatively, with 39 percent calling it "unfriendly" and 23 percent saying it is an "enemy".

The survey comes just as Trump is poised to take office later this month, pledging to bring significant changes to American foreign policy. Throughout his campaign, the president-elect often made confusing and contradictory statements regarding the Middle East, particularly when it comes to Saudi Arabia.

Although Trump said some very positive things about Saudis during his campaign – praising them for buying multi-million dollar apartments from him – he also voiced support for legislation allowing Americans to sue the kingdom for the attacks of September 11, 2001. At the beginning of his campaign, Trump launched several businesses in the kingdom, but these have been shutdown since his election. 

Trump has also voiced strong criticism of Iran, calling Obama's landmark nuclear agreement a "disaster" and "the worst deal ever negotiated." Saudi Arabia has also been highly critical of the agreement as well, fearing that the agreement will embolden its geopolitical rival.

At the same time, Trump has voiced support for Syria's President Bashar al-Assad, a position completely against that of Saudi Arabia. The kingdom has supported rebel groups throughout the Syrian conflict, while Iran has supported Assad.

It's unclear what Trump's presidency entails for Saudi Arabia and Iran, but the survey results suggest that many Americans are skeptical about ties with both of the major geopolitical powers in the Middle East.