David was thirty years old when he became king, and ruled for forty years. In Hebron he ruled Judah for seven and a half years. In Jerusalem he ruled all Israel and Judah for thirty-three years.