He ruled as king of Israel for 40 years. He ruled for 7 years in Hebron and for 33 years in Jerusalem.