Jerusalem's recorded history begins with its mention in Egyptian court records 4,000 years ago, but there had been human settlements here for centuries, probably millennia, before that.
There is no record of Jerusalem's existence before the 20th century.