So Midian was defeated by the Israelites and was no longer a threat. The land was at peace for forty years, until Gideon died.