Mahmud Hotak's 1722 revolt against the Iranian monarchy. Relations between the two nations began in the mid-to-late 19th century, when Iran was known to the west as Persia. Initially, while Persia was very wary of British and Russian colonial interests during the Great Game, the United States was seen as a more trustworthy foreign power, and the Americans Arthur Millspaugh and Morgan Shuster were even appointed treasurers-general by the Shahs of the time. During World War II, Persia was invaded by the United Kingdom and the Soviet Union, both US allies, but relations continued to be positive after the war until the later years of the government of Mohammad Mosaddegh, who was overthrown by a coup organized by the Central Intelligence Agency and aided by MI6. This was followed by an era of very close alliance and friendship between Shah Mohammad Reza Pahlavi's regime and the US government, Persia being one of the US's closest allies, which was in turn followed by a dramatic reversal and disagreement between the two countries after the 1979 Iranian Revolution.