linguistic:paraphrasing
Jerusalem as capital of Israel

On 5 December 1949, Israel's first Prime Minister, David Ben-Gurion, proclaimed Jerusalem as Israel's "eternal" and "sacred" capital, and eight days later specified that only the war had "compelled" the Israeli leadership "to establish the seat of Government in Tel Aviv", while "for the State of Israel there has always been and always will be one capital only – Jerusalem the Eternal", and that after the war, efforts had been ongoing for creating the conditions for "the Knesset... returning to Jerusalem." This indeed took place, and since the beginning of 1950 all branches of the Israeli government — legislative, judicial, and executive —have resided there, except for the Ministry of Defense, which is located at HaKirya in Tel Aviv. At the time of Ben Gurion's proclamations and the ensuing Knesset vote of 24 January 1950, Jerusalem was divided between Israel and Jordan, and thus the proclamation only applied to West Jerusalem.

In July 1980, Israel passed the Jerusalem Law as Basic Law. The law declared Jerusalem the "complete and united" capital of Israel. The Jerusalem Law was condemned by the international community, which did not recognize Jerusalem as the capital of Israel. The United Nations Security Council passed Resolution 478 on 20 August 1980, which declared that the Jerusalem Law is "a violation of international law", is "null and void and must be rescinded forthwith". Member states were called upon to withdraw their diplomatic representation from Jerusalem.

Following the resolution, 22 of the 24 countries that previously had their embassy in (West) Jerusalem relocated them in Tel Aviv, where many embassies already resided prior to Resolution 478. Costa Rica and El Salvador followed in 2006. There are five embassies—United States, Guatemala, Honduras, Papua-New Guinea and Kosovo—and two consulates located within the city limits of Jerusalem, and two Latin American states maintain embassies in the Jerusalem District town of Mevaseret Zion (Bolivia and Paraguay). There are a number of consulates-general located in Jerusalem, which work primarily either with Israel, or the Palestinian authorities.

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. A subsequent resolution condemning the US decision was passed in the United Nations General Assembly. On 14 May 2018, the United States officially opened its embassy in 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.

In April 2017, the Russian Foreign Ministry announced it viewed Western Jerusalem as Israel's capital in the context of UN-approved principles which include the status of East Jerusalem as the capital of the future Palestinian state. On 15 December 2018, Australia officially recognized West Jerusalem as Israel's capital, but said their embassy in Tel Aviv would stay until a two-state resolution was settled. The decision was reversed in October 2022.