2 Samuel 5:4-5 MSG

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