So Midian was subdued before the children of Israel, and they lifted up their heads no more. The land had rest forty years in the days of Gideon.
The final verse in this pericope (Judges 8:28) draws the account of Gideon’s defeat of the Midianites to a close. The land rested from oppression and war 40 years following his victory (ca. 1180-1140 B.C.). This is the last period of peace that the writer of Judges mentioned.