Jerusalem was the capital city of the united kingdom of Israel for seventy-three years. After that it was the seat of government for the Davidic dynasty of the nation of Judah. It is one of the Bible's most notable cities, being the center for a multitude of events; it existed as early as the Intracity war of Abraham's time.
Jerusalem served as a very important location for the nation of Israel, not only as its capital, but as the location of the Temple, the only place worship was allowed. Jerusalem became the seat of power for the land of Israel during the time of King David. David drove the Jebusites out of Jerusalem and it became known as the City of David. After David, all of the kings of Israel reigned in Jerusalem. David's son, Solomon, built the Temple in Jerusalem, which was later destroyed, rebuilt, and destroyed again.
In 586 BC the city was conquered and the Temple was destroyed by Nebuchadnezzar and the Babylonian army. After the Persians defeated Babylon, some of the Jews who had been taken as captives by the Babylonians were able to return to Jerusalem and to rebuild the Temple. Jerusalem again became the capital of the land of Israel during the Hasmonean period, until 63 BC when the Romans occupied the city.
Herod the Great, a Roman vassal, rebuilt the city and reconstructed the Temple. Jesus visited and preached in the city, and was crucified outside its gates. After the death of Jesus, the city became holy to the Christians. The Romans destroyed the city and the Temple in AD 70.
Jerusalem was founded in the land of Canaan, by a people who would eventually become known as the Jebusites. The city's founders were influenced by prominent Canaanite nations. It was established upon Mount Zion.
Rise as Salem
By the time Abraham came into the area, the city was called Salem, meaning "peace," and was ruled by Melchizedek, a priest of "the Most High God." It also became a city-state, similar to the other Canaanite cities around it.
Under Jebusite Rule
Evolving to Jerusalem
The city was called Jebus, which means "tread down" upon a mountain called Zion, which means "parched." At one point there were two existing names of the city, "Jebus" and "Salem," and it became known by those outside of the city as "Jerusalem". The people of city were still referred to as Jebusites, and it was not uncommon for the city to be referred to as Jebus. The city of Jerusalem also became a fort and expanded vastly in its military capabilities.
Facing Israelite Conquest
When the nation of Israel began their Conquest of Canaan, they took many cities. One of the earliest they had taken and destroyed was the city of Ai. After that, they had formed an alliance with the city of Gibeon, formally a close ally of Jerusalem. Gibeon was a very important city with a powerful military, and therefore this alarmed Adonizedek of the potential risk for an Israelite conquest of Jerusalem. In order to protect themselves, Jerusalem formed an alliance with multiple cities  and combined their militias in order to attack Gibeon. So Jerusalem and the other cities' armies attacked Gibeon.
After the attack, Gibeon sent word to Israel of the capture, and so Israel responded with a counterattack  and defeated Jerusalem and their allies' armies. Soldiers of Jerusalem's army retreated, but a large amount (larger than in the battle) were killed by an impending hailstorm.
The kings of each of the five cities and their remaining armies, including Adonizedek of Jerusalem fled to a cave and hid. The Israelite armies continued pursuing them and again critically defeated the armies, with a few survivors managing to escape back to their fortified cities. At the cave site, none of Jebusite armies were present and so Israel captured the Adonizedek  and eventually hung him.
Despite the loss of their king, the Jebusites and their city Jerusalem were not conquered after their defeat, because the Tribe of Judah could not dislodge them. When Judah's land allotment was given after the Southern Conquest of Canaan, the Tribe did not go beyond the southern slope of Jerusalem. Additionally the Tribe of Benjamin did not receive land beyond the southern slope of Jerusalem.
Besiegement by Israelite tribes
Sometime later, Israel continued conquering cities, such as the city of Bezek. There in that city they found a king called Adoni-bezek, and after he tried to hide, his big toes and thumbs were cut off  and he was brought to the city of Jerusalem, which had recently fallen after a siege to the armies of the tribe of Judah. Adoni-bezek, mighty "lord of Bezek," died a humiliated prisoner of war.Shortly thereafter, the Benjamites came down to occupy and inhabit the city (as it was supposed to be a part of their inheritance ), but they did not drive out the Jebusites.
Jebusite Cultural Re-conquer
Despite the city being captured, and inhabited by the Benjamites, the Jebusites were not exiled from the city. The Jebusite influence was so great over the Benjamites that they eventually became part of the Jebusites culture. By the time a wondering Levite and his concubine traveled to Jerusalem, being referred to as Jebus  or the city of the Jebusites. After a servant suggested that they stay in the city, the Levite refused to stay in any of the city that was not inhabited by Israelites.
As Israel's capital
David Conquers Jerusalem
After seven years of ruling as king from the city of Hebron, David reigned for thirty-three years in Jerusalem. Out of Hebron, David and his army marched towards to Jerusalem to conquer it from the Jebusites. The Jebusites in Jerusalem teased David by telling him that he would not conquer the city, because they would not even be able to defeat the disabled.
However when taking the mountain-based fortress, David sarcastically proclaimed that in order to reach the blind and lame, one would have to travel through the water system  indicating that the disabled were exiled. Before the attack, David promised that the soldier who led the attack would become the commander-in-chief of the army. Joab earned the position for leading the attack.
City of David
After conquering the city, David took up residence in the city and renamed it the City of David  and ordered multiple construction projects that built the city up from the stone terraces extending out of the mountain. Shortly after capturing the city, David made a request to Hiram the King of Tyre and acquired materials and construction from him to build his palace.
Moving the Ark to the city
Prior to David's rule, there had not been a centralized capital city for the nation of Israel. For this reason the tabernacle and its sacred contents were scattered among the cities. The most sacred of all was the Ark of the Covenant, located in the city of Kirjath-jearim.
After David had established a capital, he conversed with the people, determining that it was feasible to move the Ark to Jerusalem. David at first was hesitant to move it the eponymous "City of David."  After housing it temporarily with Obededom and seeing his resulting prosperity, David decided to transport it. David then prepared a tent to house the Ark upon its arrival.
With a multitude of soldiers  to accompany the Levites  transporting the Ark, and large bands of musicians to play, an huge parade formed to march the Ark into Israel's capital of Jerusalem. It was described as "all of Israel" parading into Jerusalem.
Stabilization under David
After the City of Jerusalem had the Palace constructed, and the Ark moved, the city remained stable for a period of time with no major events happening. The city continued to adapt to the newly established rule by Israel, undergoing multiple construction projects ordered by David and various other cultural projects led by the military's commander Joab.
The city would remain the seat of civil and religious power for the rest of David's reign. As military campaigns against foreign nations continued, David had delivered to his city golden shields from an enemy's officers. Joab was also stationed in Jerusalem, for it was the military headquarters. After a military campaign against the Ammonites, the military once again returned to Jerusalem.
As a result of family conflicts, David's son Absalom did not live in Jerusalem for three years. After his exile, Absalom was brought back to Jerusalem but did not see his father for an additional two years.
After these two years, Absalom began to covet his father's position as King. During this time Absalom granted himself a horse-drawn chariot and a division of fifty men under his personal command. Due to the large numbers of people entering the city to consult the King and his advisors, Absalom would get up early each morning with his militia and occupy the side of the road leading to the city gate. Absalom would ask about the inquiries of all visitors to the city. He explained to those visiting the city that their inquiry would not receive attention unless they had a representative plea to the King. Absalom also complained that if he were the leader of Israel, then representatives would not be required.
David Evacuates the City
Absalom unofficially "managed", "lobbied", and "protected" the Gate of Jerusalem for four years. After this time he went back to city of Hebron, bringing with him two-hundred of Jerusalem's inhabitants and multiple of David's staff. David quickly received word of the potential of an attack of Jerusalem by Absalom. Therefore, David quickly called all his staff, palace workers, and armies to evacuate the city to evade slaughter, and to prevent the city from being destroyed in the attack. So David set out with his entire personal workforce belonging to his house, leaving only ten of his concubines to administer the palace.
David marched to the edge of the city, and then stopped and allowed all the people and soldiers loyal to him to march ahead of him. The designated Levite Priests brought with them the Ark of the Covenant, and they set it down somewhere outside of the city and made sacrifices until the entire city was evacuated. The king then told the Priests to take the Ark back to Jerusalem, and that if God found favor with him that he would be able to return to the city. So several priests took the Ark back to the city.
Absalom claims Jerusalem
While David and his followers traveled farther and farther from the city, King David sent one of his trusted advisors Hushai back to Jerusalem, so he would not be burdensome to David, and help by confusing Absalom's counsel. Hushai arrived at the city, just as Absalom and his following entered the city  and claimed it without bloodshed.
Re-claimed by David
Absalom only remained in occupancy of the throne for a short amount of time. After a while David's army attacked Absalom-directed Israelite soldiers and killed Absalom in battle. After this Joab recounted to David's forces the day in which Absalom claimed.[Consider Rewording] 
The Tribes of Israel soon began to argue about if David should be re-established as King and allowed to reclaim Jerusalem. After much discussion the nation of Judah re-instated David as King and permitted him to re-enter Jerusalem. So David and his people crossed over the Jordan River, to make the journey back to Jerusalem, marking that David had reclaimed control over the capital.
The City Grows
At one point during David's reign, he sinned against God by taking a census of the army. So God punished Israel for his sin, sending the Angel of God to punish Israel by killing many people. The Angel of God almost destroyed the city of Jerusalem in the process, but as the Angel reached his hand out to destroy the city, God told the Angel to stop. The Angel then waited at the threshing floor of Araunah, a native Jebusite of the city, who owned a large portion of Mount Moriah.
Expansion onto Mount Moriah
When David saw the Angel was at the threshing floor, he went up and purchased the land. This expanded the territory of Jerusalem, adding Mount Moriah to the existing Mount Zion. The land that was purchased would become a strong point of commerce for the city when the Temple was built there by Solomon. All the construction would bring many coming into that part of the city.
- ↑ 2 Kings 19 (Link)
- ↑ Genesis 10:16, 15:21 (Link)
- ↑ Ezekiel 16:3 (Link)
- ↑ Psalm 76:2 (Link)
- ↑ Genesis 14:8, Hebrews 7:1-2 (Link)
- Joshua 10:2
- ↑ Joshua 10:3 (Link)
- ↑ Joshua 10:4 (Link)
- ↑ Joshua 10:5 (Link)
- ↑ Joshua 10:9 (Link)
- ↑ Joshua 10:10 (Link)
- Joshua 10:16
- ↑ Joshua 10:20 (Link)
- ↑ Joshua 10:22-23 (Link)
- ↑ Joshua 10:26 (Link)
- ↑ Joshua 15:63 (Link)
- ↑ Joshua 15:8 (Link)
- ↑ Joshua 18:16 (Link)
- ↑ Judges 1:4 (Link)
- ↑ Judges 1:5-6 (Link)
- ↑ Judges 1:7-8 (Link)
- ↑ Joshua 18:28 (Link)
- Judges 1:21
- ↑ Judges 19:10 (Link)
- ↑ Judges 19:11 (Link)
- ↑ Judges 19:12 (Link)
- ↑ 1 Samuel 17:54 (Link)
- ↑ 2 Samuel 5:3, 1 Chronicles 11:3 (Link)
- 2 Samuel 2:11,5:5; 1 Kings 2:11; 1 Chronicles 3:4
- 1 Chronicles 11:4
- ↑ 2 Samuel 5:6 (Link)
- ↑ 1 Chronicles 11:5, 2 Samuel 5:7 (Link)
- ↑ 2 Samuel 5:8 (Link)
- ↑ 1 Chronicles 11:6 (Link)
- 2 Samuel 5:10, 1 Chronicles 11:8
- ↑ 2 Samuel 5:11, 1 Chronicles 14:1 (Link)
- ↑ Joshua 15:9; 2 Samuel 6:2 (Link)
- ↑ 1 Chronicles 13:1-4 (Link)
- ↑ 2 Samuel 6:10 (Link)
- ↑ 2 Samuel 6:11; 1 Chronicles 13:14 (Link)
- ↑ 2 Samuel 6:12 (Link)
- ↑ 1 Chronicles 15:1 (Link)
- ↑ 2 Samuel 6:1, 1 Chronicles 15:3 (Link)
- ↑ 1 Chronicles 15:2,15 (Link)
- ↑ 1 Chronicles 15:16 (Link)
- ↑ 2 Samuel 6:15, 1 Chronicles 15:28 (Link)
- ↑ 2 Samuel 8:7 (Link)
- ↑ 2 Samuel 10:14 (Link)
- ↑ 2 Samuel 12:31 (Link)
- ↑ 2 Samuel 14:28 (Link)
- ↑ 2 Samuel 15:1 (Link)
- ↑ 2 Samuel 15:2 (Link)
- ↑ 2 Samuel 15:3 (Link)
- ↑ 2 Samuel 15:4 (Link)
- ↑ Samuel 15:7 (Link)
- ↑ 2 Samuel 15:10-12 (Link)
- ↑ 2 Samuel 15:13 (Link)
- ↑ 2 Samuel 15:14 (Link)
- ↑ 2 Samuel 15:16 (Link)
- ↑ 2 Samuel 15:17 (Link)
- ↑ 2 Samuel 15:18 (Link)
- ↑ 2 Samuel 15:24 (Link)
- ↑ 2 Samuel 15:25 (Link)
- ↑ 2 Samuel 15:27-29 (Link)
- ↑ 2 Samuel 15:33-34 (Link)
- ↑ 2 Samuel 15:37 (Link)
- ↑ 2 Samuel 16:15 (Link)
- ↑ 2 Samuel 18:15 (Link)
- ↑ 2 Samuel 19:3 (Link)
- ↑ 2 Samuel 9:9 (Link)
- ↑ 2 Samuel 19:11-14 (Link)
- ↑ 2 Samuel 19:15-42 (Link)
- ↑ 2 Samuel 24:10 (Link)
- ↑ 2 Samuel 24:15 (Link)
- ↑ 2 Samuel 24:16 (Link)
- ↑ 2 Samuel 24:24 (Link)
- ↑ 1 Kings 2:10 (Link)