The city of Salem transformed into Jerusalem, known for its rich religious and historical significance, including the legacy of Melchizedek and the establishment of David's capital at Jebus. [1] David solidified his political power by strategically marrying wives from Jebus and other influential figures. [2] David strategically formed a compact with the Jebusites to establish his capital at Jerusalem, a strong-walled city sitting between Judah and Israel. [3]