1 Chronicles 11:8

And he built the city round about, even from Millo round about: and Joab repaired the rest of the city.

The passage records the aftermath of David's seizure of Jebus, the well-fortified Jebusite stronghold that stood upon Zion and Moriah. The assault was led by Joab at the head of the Hebrew forces, and for his daring and success in taking the fortress he was elevated to commander-in-chief of the army. Once captured, Jebus was made the national capital of Israel and given the new name Jerusalem.