4 David was 30 years old when he became king, and he ruled for forty years.