It was a diplomatic and military confrontation in late 1956 between Egypt on one side, and Britain, France and Israel on the other, with the United States, the Soviet Union, and the United Nations playing major roles in forcing Britain, France and Israel to withdraw. The attack followed the President of Egypt Gamal Abdel Nasser's decision of 26 July 1956 to nationalize the Suez Canal, after the withdrawal of an offer by Britain and the United States to fund the building of the Aswan Dam, which was in response to Egypt's new ties with the Soviet Union and recognizing the People's Republic of China during the height of tensions between China and Taiwan. The aims of the attack were primarily to regain Western control of the canal and to remove Nasser from power, and the crisis highlighted the danger that Arab nationalism posed to Western access to Middle East oil. The three allies, especially Israel, were mainly successful in attaining their immediate military objectives, but pressure from the United States and the USSR at the United Nations and elsewhere forced them to withdraw. As a result of the outside pressure Britain and France failed in their political and strategic aims of controlling the canal and removing Nasser from power. Israel fulfilled some of its objectives, such as attaining freedom of navigation through the Straits of Tiran. As a result of the conflict, the UNEF would police the Egyptian–Israeli border to prevent both sides from recommencing hostilities.