The Atlantic herring has four megabase-sized inversions associated with ecological adaptation. This study untangles their evolutionary history, showing that considerable genetic exchange between ...