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