The Six-Day War ended with Israel capturing the Sinai Peninsula, the Golan Heights, the Gaza Strip, and the West Bank, including East Jerusalem. Of these, only the Sinai Peninsula was returned, per the Israel-Egypt Camp David Accords peace treaty, while the Golan Heights and East Jerusalem were formally annexed by Israel. Meanwhile, the Gaza Strip and the West Bank were placed under Israeli military occupation, while the Palestinians sought to establish an independent Palestinian state in those territories, and the political status of Jerusalem remained a highly contentious issue into the 21st century.