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.
Humans have lived in Jerusalem for over 4,000 years.