Jerusalem is not occupied it is the capital of the Jewish people and has been for 3000 years. When the muslims ruled the area it was a backwater village of a few 1000 people. For centuries the administrative capital of the area was Damascus . The muslims even turned their back to Jerusalem and prayed to mecca