In 1958, in response to the merger of Egypt and Syria in the United Arab Republic, the two Hashemite kingdoms of Iraq and Jordan established the Arab Federation, a confederation of the two states. The flag of the union was essentially that of Jordan but without seven pointed star in the red chevron. This flag is identical to the flag of Palestine adopted in 1964, and almost identical to the flag of the Ba'ath Party. The union lasted less than six months, being terminated by the Iraqi Revolution of 1958 in July.