The All-Palestine Government was established on 22 September 1948, during the 1948 Arab?Israeli War , to govern the Egyptian-controlled territory in Gaza.