It was Israel's first capital when the nation was established in 1948. The capital was moved to Jerusalem in 1949, but the Israeli Ministry of Defense and many foreign embassies stayed in Tel Aviv. Most Israeli government departments have offices in Tel Aviv.