11:7 David lived in the fortress; for this reason it is called the City of David.
1 Chronicles 20:1
20:1 In the spring, at the time when kings normally conduct wars, Joab led the army into battle and devastated the land of the Ammonites. He went and besieged Rabbah, while David stayed in Jerusalem. Joab defeated Rabbah and tore it down.
1 Chronicles 21:7
21:7 God was also offended by it, so he attacked Israel.