The length of Solomon's reign in Jerusalem over all Israel totaled forty years.