David had reigned over Israel for 40 years. He reigned in Hebron for seven years and in Jerusalem for 33 years. 