The modern Islamic fundamentalist movements have their origins in the late 19th century. The Wahhabi movement, an Arabian fundamentalist movement that began in the 18th century, gained traction and spread during the 19th and 20th centuries. During the Cold War following World War II, some NATO governments, particularly those of the United States and the United Kingdom, launched covert and overt campaigns to encourage and strengthen fundamentalist groups in the Middle East and southern Asia. These groups were seen as a hedge against potential expansion by the Soviet Union, and as a means to prevent the growth of nationalistic movements that were not necessarily favorable toward the interests of the Western nations. By the 1970s, the Islamists had become important allies in supporting governments, such as Egypt, which were friendly to U.S. interests. By the late 1970s, however, some fundamentalist groups had become militaristic leading to threats and changes to existing regimes. The overthrow of the Shah in Iran and rise of the Ayatollah Khomeini was one of the most significant signs of this shift. Subsequently, fundamentalist forces in Algeria caused a civil war, caused a near-civil war in Egypt, and caused the downfall of the Soviet occupation in Afghanistan. In many cases the military wings of these groups were supplied with money and arms by the U.S. and U.K.