What two territories did Egyptcon quer