The Jebusites

During the time of Joshua the city of Jerusalem was named Jebus or Jebusi, and a Canaanite people called the Jebusites dwelt there. Though Joshua had conquered the land there, he never fully drove out the Jebusites, and David had to actually take possession of the stronghold of Zion. Apparently there were some Jebusites who were still living in this area during the time of David, because we find David actually purchasing the ground on which the Temple would be built from Araunah the Jebusite.