Now, judges were established over them from the time they took over the promised land and before the monarchy began. And even during this era, the children of iniquity, that is, foreign foes, afflicted them, for we read they had now peace, now war. Even so, you can find periods of peace in the age of the judges longer than that of Solomon, who reigned forty years. Specifically, under the judge named Ehud, there were eighty years of peace.
Source: City of God 17.13