I also gave you your master’s house, and put your master’s wives into your care and under your protection, and I gave you the house (royal dynasty) of Israel and of Judah; and if that had been too little, I would have given you much more!
Then the men of Judah came and there they anointed David king over the house of Judah. Then they told David, “It was the men of Jabesh-gilead who buried Saul.” [1 Sam 31:11-13]
So all the elders of Israel came to the king at Hebron, and David made a covenant (solemn agreement) with them there before the Lord; and they anointed him king over Israel, in accordance with the word of the Lord through Samuel. [1 Sam 16:1, 12, 13]