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