A compression ignition type engine, wherein a first combustion where the amount of the recirculated exhaust gas supplied to the combustion chamber is larger than the amount of recirculated exhaust gas where the amount of production of soot peaks and almost no soot is produced and a second combustion where the amount of recirculated exhaust gas supplied to the combustion chamber is smaller than the amount of recirculated exhaust gas where the amount of production of soot peaks are selectively switched between and wherein the air-fuel ratio is temporarily made rich immediately before switching from the first combustion to the second combustion or immediately after switching from the second combustion to the first combustion. <IMAGE>