Its northern deserts were a battleground in the Egypt-Israeli conflicts of the 1950s and 1960s , and it was occupied by Israel for many months before it passed permanently back into Egypt 's hands with the treaty of 1979 .
The northern deserts were given to Israel with the treaty of 1979 .