In 1995, the United States Congress passed the Jerusalem Embassy Act, which required, subject to conditions, that its embassy be moved from Tel Aviv to Jerusalem. On 6 December 2017 U.S. President Donald Trump officially recognized Jerusalem as Israel's capital and announced his intention to move the American embassy to Jerusalem, reversing decades of United States policy on the issue. The move was criticized by many nations. A resolution condemning the US decision was supported by all the 14 other members of the UN Security Council, but was vetoed by the US on 18 December 2017, and a subsequent resolution condemning the US decision was passed in the United Nations General Assembly. On 14 May 2018, the United States officially moved the location of its embassy to Jerusalem, transforming its Tel Aviv location into a consulate. Due to the general lack of international recognition of Jerusalem as Israel's capital, some non-Israeli media outlets use Tel Aviv as a metonym for Israel.