It happened after this that David inquired of the Lord, saying, “Shall I go up to any of the cities of Judah?”
And the Lord said to him, “Go up.”
David said, “Where shall I go up?”
And He said, “To Hebron.”
So David went up there, and his two wives also, Ahinoam the Jezreelitess, and Abigail the widow of Nabal the Carmelite. And David brought up the men who were with him, every man with his household. So they dwelt in the cities of Hebron.
Then the men of Judah came, and there they anointed David king over the house of Judah. And they told David, saying, “The men of Jabesh Gilead were the ones who buried Saul.” So David sent messengers to the men of Jabesh Gilead, and said to them, “You are blessed of the Lord, for you have shown this kindness to your lord, to Saul, and have buried him. And now may the Lord show kindness and truth to you. I also will repay you this kindness, because you have done this thing. Now therefore, let your hands be strengthened, and be valiant; for your master Saul is dead, and also the house of Judah has anointed me king over them.”
But Abner the son of Ner, commander of Saul’s army, took Ishbosheththe son of Saul and brought him over to Mahanaim; and he made him king over Gilead, over the Ashurites, over Jezreel, over Ephraim, over Benjamin, and over all Israel. Ishbosheth, Saul’s son, was forty years old when he began to reign over Israel, and he reigned two years. Only the house of Judah followed David.
-1 Samuel 2:1-10